Python Cleanup #2461
-
|
Heya! I'm using the Python.Scripting extension to interact with a micropython controller. As part of that, I need to ensure that the connection to the device is closed when the workflow is stopped manually. I'm trying to figure out the best way to do this - so either by clicking the @bruno-f-cruz suggested to use I would highly appreciate any ideas of alternative solutions or help debugging the above error. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Can you share the code of your project? thanks! |
Beta Was this translation helpful? Give feedback.
Ah, I solved it by adding in
ObserveOnGIL!