Phantom process remains on exit
Posted: Thu 23 Mar 2017 16:17
We are seeing a strange reproducible occurrence that hopefully is the result of a known issue with a known resolution.
Problem: A Delphi built application leaves a phantom process running after exiting, but only when launched from an Oracle Form via Webutil.
We have isolated the problem to the torasession.connect. That is, if the torasession.connect is called, whether a connect is successful or not, upon exiting the application, a phantom process associated with the program will remain active. This is problematic as the Form will continue to block waiting for the user to exit the launched program, even though the user has exited the program and the program's main window has closed.
When we run the program standalone, upon exiting there are no left over phantom processes...it will exit cleanly.
We are performing torasession.disconnect and torsession.free when closing the program's main window.
Has anyone else experienced this behavior?
Problem: A Delphi built application leaves a phantom process running after exiting, but only when launched from an Oracle Form via Webutil.
We have isolated the problem to the torasession.connect. That is, if the torasession.connect is called, whether a connect is successful or not, upon exiting the application, a phantom process associated with the program will remain active. This is problematic as the Form will continue to block waiting for the user to exit the launched program, even though the user has exited the program and the program's main window has closed.
When we run the program standalone, upon exiting there are no left over phantom processes...it will exit cleanly.
We are performing torasession.disconnect and torsession.free when closing the program's main window.
Has anyone else experienced this behavior?