fixed GH #1002: ActiveDispatcher saves reference to event context after event was performed until it gets new event

This commit is contained in:
Guenter Obiltschnig 2016-02-27 17:49:18 +01:00
parent 266ea3117d
commit 861303267e

View File

@ -96,6 +96,7 @@ void ActiveDispatcher::run()
ActiveRunnableBase::Ptr pRunnable = pMethodNf->runnable();
pRunnable->duplicate(); // run will release
pRunnable->run();
pNf = 0;
pNf = _queue.waitDequeueNotification();
}
}