Wolfmyths / Myth-Mod-Manager

An easy way to swap and manage Payday 2 mods outside the game
https://modworkshop.net/mod/43276
MIT License
9 stars 4 forks source link

Linux: Throwing exceptions from an event handler is not supported in Qt. #46

Closed Wolfmyths closed 10 months ago

Wolfmyths commented 10 months ago

The following output happens when doing anything involving the QThread inherited classes

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
QThread: Destroyed while thread is still running
Aborted (core dumped)

I'm unsure why this happens, my guess is that we cannot use try/except in our QThreaded classes and will need some restructuring. Will do more research later but decided to put this up right now