jithurjacob / Windows-10-Toast-Notifications

Python library to display Windows 10 Toast Notifications
MIT License
970 stars 168 forks source link

UnregisterClass after DestroyWindow #11

Closed openopentw closed 7 years ago

openopentw commented 7 years ago

Add UnregisterClass after DestroyWindow (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.

jithurjacob commented 7 years ago

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.