Page 1 of 1

Open Dental runs in background even after quit

Posted: Wed Dec 23, 2020 4:08 pm
by wjstarck
I have an issue starting in OD 20.4 where there is a copy of Open Dental running in the background even after the user quits OD on the desktop.

The next time Open Dental is started, it apparently assumes the freshly started instance is a second instance, so my plugin won't run. I have to force-quit this background process and then restart OD for everything to work again.

Image

Re: Open Dental runs in background even after quit

Posted: Wed Dec 23, 2020 7:13 pm
by wjstarck
OD version is 20.4.32...

Re: Open Dental runs in background even after quit

Posted: Sat Dec 26, 2020 5:50 pm
by jordansparks
Researching.

Re: Open Dental runs in background even after quit

Posted: Wed Dec 30, 2020 12:58 pm
by wjstarck
Would a production db that had been updated in the debugger cause this to happen?

I didn't see the behavior on the live db on my laptop yesterday but still see it happen repeatedly on my development machine. Odd. The only other difference is my live db machine is running MySQl 5.6 and the development machine 5.5 but I can't see how that would cause this behavior.

Re: Open Dental runs in background even after quit

Posted: Thu Dec 31, 2020 10:50 am
by jordansparks
When in VS, there are two ways to terminate a program. You can click stop in VS, or you can close OD itself. Clicking stop in VS should work 100% of the time, so I'm guessing your original screenshot was closing OD itself.

Re: Open Dental runs in background even after quit

Posted: Wed Jan 20, 2021 9:54 am
by dcrider
I can confirm that clicking Stop in Visual Studio does NOT kill the process

Re: Open Dental runs in background even after quit

Posted: Sun Feb 07, 2021 8:51 pm
by dcrider
This is happening on instances of OD that have been upgraded to 20.4.45

This prevents us from updating DLLs unless we remote into each computer (we have 26 offices in 4 States) and kill the process manually. This needs to be fixed.

Re: Open Dental runs in background even after quit

Posted: Mon Feb 08, 2021 12:13 pm
by dcrider
I'm sure you already have some ideas, but this might be helpful: https://stackoverflow.com/a/6457611