Cancel call monitor thread instead of deleting it: avoid virtual method call on Windows.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5951 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
f0c4dc914f
commit
ad90bd6de7
|
@ -3542,7 +3542,7 @@ bool Monitor::unload()
|
|||
|
||||
if (m_callMonitor) {
|
||||
Engine::uninstall(m_callMonitor);
|
||||
delete m_callMonitor;
|
||||
m_callMonitor->cancel();
|
||||
m_callMonitor = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue