mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-28 11:07:48 +00:00
MtApi5: fixed issue with active expert executor
This commit is contained in:
@@ -3386,6 +3386,8 @@ namespace MtApi5
|
||||
lock (_locker)
|
||||
{
|
||||
added = _experts.Add(handle);
|
||||
if (_executorHandle == 0)
|
||||
_executorHandle = (_experts.Count > 0) ? _experts.ElementAt(0) : 0;
|
||||
}
|
||||
|
||||
if (added)
|
||||
|
||||
Reference in New Issue
Block a user