Closed openopentw closed 7 years ago
Add UnregisterClass after DestroyWindow (here).
UnregisterClass
DestroyWindow
Otherwise if I wrote a script like your example and exec it twice in python interpreter, there would be error messages saying that class already exist.
class already exist
And that's because destroying the windows doesn't unregister the class.
Hi @openopentw Sorry for the late response,I was caught up with work. Thank you for your interest in this project.
I've fixed the issue. Thank you for bringing this to my notice.
Add
UnregisterClass
afterDestroyWindow
(here).Otherwise if I wrote a script like your example and exec it twice in python interpreter, there would be error messages saying that
class already exist
.And that's because destroying the windows doesn't unregister the class.