Commit ff19930d authored by Clinton Stimpson's avatar Clinton Stimpson
Browse files

BUG: give the thread some time to finish, so we don't get warnings about a terminated thread.

parent d8723ec7
...@@ -95,6 +95,8 @@ pqThreadedEventSource::pqThreadedEventSource(QObject* p) ...@@ -95,6 +95,8 @@ pqThreadedEventSource::pqThreadedEventSource(QObject* p)
pqThreadedEventSource::~pqThreadedEventSource() pqThreadedEventSource::~pqThreadedEventSource()
{ {
// wait a second for this thread to finish, if it hasn't yet
delete this->Internal; delete this->Internal;
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment