Revision: 34735
http://sourceforge.net/p/opalvoip/code/34735
Author: rjongbloed
Date: 2016-03-29 07:51:36 +0000 (Tue, 29 Mar 2016)
Log Message:
-----------
Fixed race condition in OpenPhone with async notifiers and shut down.
Modified Paths:
--------------
opal/trunk/samples/openphone/main.cxx
Modified: opal/trunk/samples/openphone/main.cxx
===================================================================
--- opal/trunk/samples/openphone/main.cxx 2016-03-29 07:49:54 UTC (rev 34734)
+++ opal/trunk/samples/openphone/main.cxx 2016-03-29 07:51:36 UTC (rev 34735)
@@ -857,6 +857,9 @@
MyManager::~MyManager()
{
+ while (AsyncNotifierExecute())
+ ;
+
TextCtrlChannel::SetFrame(NULL);
ShutDownEndpoints();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|