You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have PythonPlugin that launch a thread in the background.
When I want to delete it from main GUI openephys just crash.
This is because the thread is not stoped properly.
So I would need a claabck in the python be aware the pulgin is about be deleted and so I could stop the thread and close socket and opened file properly.
What is the way to that ?
Is there a callback at C++ API for that that could be propagated in python ? (question1)
I tried the __del__ but it do not work...
Is the plugin python instance is deleted properly by the python interpreter ? (question2)
The text was updated successfully, but these errors were encountered:
I have PythonPlugin that launch a thread in the background.
When I want to delete it from main GUI openephys just crash.
This is because the thread is not stoped properly.
So I would need a claabck in the python be aware the pulgin is about be deleted and so I could stop the thread and close socket and opened file properly.
What is the way to that ?
Is there a callback at C++ API for that that could be propagated in python ? (question1)
I tried the
__del__
but it do not work...Is the plugin python instance is deleted properly by the python interpreter ? (question2)
The text was updated successfully, but these errors were encountered: