Avoid destroying a Channel with its driver locked.

git-svn-id: http://voip.null.ro/svn/yate@4462 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2011-06-22 11:38:57 +00:00
parent 55d646062d
commit 02c3052c36
1 changed files with 1 additions and 0 deletions

View File

@ -1277,6 +1277,7 @@ bool Driver::received(Message &msg, int id)
if (!c)
break;
c->checkTimers(msg,t);
c = 0;
lock();
}
}