Fix to not track operations when loading modules (#6083)

This commit is contained in:
Jonathan Tran
2025-04-02 00:34:25 -04:00
committed by GitHub
parent af482c30bd
commit 29f8b05f56
9 changed files with 47 additions and 846 deletions

View File

@ -497,9 +497,13 @@ impl ExecutorContext {
self.context_type == ContextType::Mock || self.context_type == ContextType::MockCustomForwarded
}
pub async fn is_isolated_execution(&self) -> bool {
self.engine.execution_kind().await.is_isolated()
}
/// Returns true if we should not send engine commands for any reason.
pub async fn no_engine_commands(&self) -> bool {
self.is_mock() || self.engine.execution_kind().await.is_isolated()
self.is_mock() || self.is_isolated_execution().await
}
pub async fn send_clear_scene(