lava icon indicating copy to clipboard operation
lava copied to clipboard

PyAsyncProcessModel should wait to start until process.run is called.

Open tim-shea opened this issue 2 years ago • 0 comments

Describe the bug PyAsyncProcessModel starts running (run_async is called) during runtime creation, instead of waiting until a subsequent run mgmt command is sent by the runtime.

To reproduce current behavior Implement a minimal PyAsyncProcessModel. Print when run_async is called. Use process.create_runtime to show that run_async is called even if process.run is not called.

Expected behavior PyAsyncProcessModel should not start running until a run mgmt command is sent / until process.run is called.

tim-shea avatar Jun 16 '23 03:06 tim-shea