I have a child application launched from within a parent application. When I close the child through the parent, everything is fine and dandy.
However, on 64-bit Windows OS, if I close the child on its own, there's a 50/50 chance that it won't close properly.
Closing the child through the parent will work 100%. But if I close the child by clicking the 'X', the GUI is closed but the Process remains running in Task Manager.
Additional information: when I run the debug version of the application, the problem doesn't occur. Right now I'm thinking it maybe some resources that I'm not freeing up.
Has anyone seen this behaviour and know how to resolve it?