Destruct sequences
Posted: Mon Jul 03, 2017 8:49 pm
Guys,
in a VN (ex VO) app now under X#, i use on a datawindow a specialized sle class. Part of it's specialness is it protects another instance of the owning windows' server to do some checks.
My problem: app crashes when closing the app via menu or "X". Closing the window itself produces no crash. I added a destructor where server is closed and nulled, but to no avail.
No big deal, as i'm not sure if i'll follow this implementation path further, but i wonder what's the big difference in the "destroy" path between close window and close app...
TIA
Karl
in a VN (ex VO) app now under X#, i use on a datawindow a specialized sle class. Part of it's specialness is it protects another instance of the owning windows' server to do some checks.
My problem: app crashes when closing the app via menu or "X". Closing the window itself produces no crash. I added a destructor where server is closed and nulled, but to no avail.
No big deal, as i'm not sure if i'll follow this implementation path further, but i wonder what's the big difference in the "destroy" path between close window and close app...
TIA
Karl