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 am currently working on an application with sub-windows for viewing information about individual parts of a whole system. both the main application and the sub-windows use pyotherside. I have discovered that if I open a sub-window and close it again before all python modules in the Python element have been imported, it causes issues when the sub-window is opened next time. The problem is that the python processes from the original window cannot be stopped on closing and continue running. Depending on the exact set-up of the machine this can stop updates coming to the sub-window through python, or even a crash the whole application.
I have noticed this only in Windows, though I suspect this is just because the Windows version takes longer to import modules.
I would appreciate being able to stop python doing any of its atexit processes until I allow it to procede. This can be done on the QML side by setting close.accepted to false, but this seems to have no effect on pyotherside.
The text was updated successfully, but these errors were encountered:
I am currently working on an application with sub-windows for viewing information about individual parts of a whole system. both the main application and the sub-windows use pyotherside. I have discovered that if I open a sub-window and close it again before all python modules in the Python element have been imported, it causes issues when the sub-window is opened next time. The problem is that the python processes from the original window cannot be stopped on closing and continue running. Depending on the exact set-up of the machine this can stop updates coming to the sub-window through python, or even a crash the whole application.
I have noticed this only in Windows, though I suspect this is just because the Windows version takes longer to import modules.
I would appreciate being able to stop python doing any of its atexit processes until I allow it to procede. This can be done on the QML side by setting close.accepted to false, but this seems to have no effect on pyotherside.
The text was updated successfully, but these errors were encountered: