Juce app process stuck in task manager after quit

Hi,

We have a JUCE application that includes a CameraDevice in it, which works fine except under AMD cpu.

The issue is that if the camera is active and the application is closed(“closeButtonPressed”) the GUI window will be closed but the process will still be up in the task manager permanently.

“JUCEApplicationBase::quit()” is called from “closeButtonPressed”, and the CameraDevice is destroyed afterwards in the MainWindow destructor.

I suspect that some older message in the dispatching queue which is related to the camera is hanging the process.

currently we were able to reproduce it only with AMD cpus.

Any advice?