ryanmelt / qtbindings

An easy to install gem version of the Ruby bindings to Qt
http://github.com/ryanmelt/qtbindings
Other
340 stars 63 forks source link

Calling dispose outside the main loop doesn't cause exception #136

Open jmthomas opened 8 years ago

jmthomas commented 8 years ago

Issue #122 added code to cause an exception when a QT method was called outside of the main thread. I recently added code which called dispose to free a widget. This code was called outside the main thread and I got the infamous "QObject::startTimer: timers cannot be started from another thread" instead of an exception.