[solved] Crash on exiting an application
I am testing an application and do not get any errors. However other people do, when they try to close the application using the X icon in the window.
When I run dependency walker, I get the following:
Can this be a problem? Again, I do not get any errors myself.
No it should not. Are you doing any cleanup, having custom destructors etc. ?
SGaist. Brilliant. Thank you so much! Just received reports from the other users. Problem is gone.
I created several pointer objects on the heap in one of the functions. Then I wrote a command to destroy the objects in the mainwindow destructor. If the user never called that function, there was nothing to destroy.
Anyways, thank you so much for pointing to the problem!
You're welcome !
Missing pointer initialization to 0 ?
Yeah, silly me. :-)
Thanks and Merry Christmas!
You're welcome and same to you !