# OnUserLeave signal received when calling AdmitUser if user is in waiting room

**URL:** <https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030>\
**Category:** Windows\
**Created:** [December 22, 2020, 9:06pm UTC](https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030 "2020-12-22T21:06:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuriy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yuriy/32/15219_2.png) [@yuriy](https://devforum.zoom.us/u/yuriy)\
**Post date:** [December 22, 2020, 9:06pm UTC](https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030/1 "2020-12-22T21:06:06Z")

</div>

**Description**  
Our application has moderator and respondent roles. Moderator suppose to put respondents to waiting room and restore them. Code works fine in the beginning of November, but now situation is different.  
Moderator can put user to waiting room, but he cant move user from waiting room back to the conversation.

Here is how we do it:  
On moderator side, we call AdmitUser function to return user back to the conference

On user-in-waiting-room side we receive OnUserLeave instead on OnMeetingStatusChanged with param MeetingStatus.MEETING\_STATUS\_INMEETING

**Which version?**  
version 5.0, we tried update to 5.2 but app crashed during sdk initialization

**To Reproduce(If applicable)** not applicable

**Screenshots** not applicable

**Device (please complete the following information):**

- Device Spec: PC
- OS: Windows 10
- Version 1909 build 18363.1256  
We tried several different computers (4) with windows 10, same problem everywhere

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 4, 2021, 5:31pm UTC](https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030/2 "2021-01-04T17:31:15Z")

</div>

Hey @yuriy,

Thanks for using the dev forum!

I will try to reproduce the waiting room issue you are seeing. In the meantime, I am curious about the 5.2 crash. Can you provide any further info regarding that?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![yuriy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yuriy/32/15219_2.png) [@yuriy](https://devforum.zoom.us/u/yuriy)\
**Post date:** [January 11, 2021, 5:20pm UTC](https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030/3 "2021-01-11T17:20:12Z")

</div>

We fix it by update to 5.2.1

---

<div class="post-metadata">

**Author:** ![yuriy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yuriy/32/15219_2.png) [@yuriy](https://devforum.zoom.us/u/yuriy)\
**Post date:** [January 11, 2021, 5:26pm UTC](https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030/4 "2021-01-11T17:26:17Z")

</div>

Same bug returns in 5.2.1 after a while. However it apply only if application is installed in Program Files folder.  
If application is installed into user’s home folder - application works fine. No files are written info application folder by our code and I do not see any new files created by anyone else.  
If I run the application as administrator - problem still exist.

I’m out of ideas, help )

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 12, 2021, 9:28pm UTC](https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030/5 "2021-01-12T21:28:15Z")

</div>

Hey @yuriy,

To make sure I am understanding correctly, you are seeing a bug where admitting a user into the meeting causes the onUserLeave callback to trigger sometimes. This bug only happens if the application is installed in the Program Files folder.  
Is this correct?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![yuriy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/yuriy/32/15219_2.png) [@yuriy](https://devforum.zoom.us/u/yuriy)\
**Post date:** [January 28, 2021, 11:10am UTC](https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030/6 "2021-01-28T11:10:07Z")

</div>

Yes. By the way, here is the list of all files we have installed, may be where is something missing?

Avalonia.Animation.dll  
Avalonia.Base.dll  
Avalonia.Controls.dll  
Avalonia.DesignerSupport.dll  
Avalonia.Desktop.dll  
Avalonia.DesktopRuntime.dll  
Avalonia.Diagnostics.dll  
Avalonia.Dialogs.dll  
Avalonia.Direct2D1.dll  
Avalonia.dll  
Avalonia.FreeDesktop.dll  
Avalonia.Input.dll  
Avalonia.Interactivity.dll  
Avalonia.Layout.dll  
Avalonia.Logging.Serilog.dll  
Avalonia.Markup.dll  
Avalonia.Markup.Xaml.dll  
Avalonia.Native.dll  
Avalonia.OpenGL.dll  
Avalonia.ReactiveUI.dll  
Avalonia.Remote.Protocol.dll  
Avalonia.Skia.dll  
Avalonia.Styling.dll  
Avalonia.Themes.Default.dll  
Avalonia.Visuals.dll  
Avalonia.Win32.dll  
Avalonia.X11.dll  
dirlisting.txt  
DynamicData.dll  
JetBrains.Annotations.dll  
MessageBox.Avalonia.dll  
Microsoft.CodeAnalysis.CSharp.dll  
Microsoft.CodeAnalysis.dll  
Microsoft.CodeAnalysis.VisualBasic.dll  
Microsoft.Extensions.DependencyInjection.Abstractions.dll  
Microsoft.VisualBasic.dll  
Microsoft.Win32.SystemEvents.dll  
Newtonsoft.Json.dll  
ReactiveUI.dll  
Remote-i.deps.json  
Remote-i.dll  
Remote-i.exe  
Remote-i.pdb  
Remote-i.runtimeconfig.dev.json  
Remote-i.runtimeconfig.json  
Serilog.dll  
Serilog.Sinks.Console.dll  
Serilog.Sinks.Debug.dll  
Serilog.Sinks.File.dll  
Serilog.Sinks.Trace.dll  
SharpDX.Direct2D1.dll  
SharpDX.Direct3D11.dll  
SharpDX.dll  
SharpDX.DXGI.dll  
SharpGen.Runtime.COM.dll  
SharpGen.Runtime.dll  
SkiaSharp.dll  
Splat.dll  
System.Drawing.Common.dll  
System.Reactive.dll  
TextCopy.dll  
Tmds.DBus.dll  
unins000.dat  
unins000.exe  
unins000.msg  
runtimes\debian-x64\native\libuv.so  
runtimes\fedora-x64\native\libuv.so  
runtimes\linux-arm\native\libSkiaSharp.so  
runtimes\linux-x64\native\libSkiaSharp.so  
runtimes\opensuse-x64\native\libuv.so  
runtimes\osx\native\libAvaloniaNative.dylib  
runtimes\osx\native\libSkiaSharp.dylib  
runtimes\osx\native\libuv.dylib  
runtimes\rhel-x64\native\libuv.so  
runtimes\tizen-armel\native\libSkiaSharp.so  
runtimes\tizen-x86\native\libSkiaSharp.so  
runtimes\unix\lib\netcoreapp2.0\System.Drawing.Common.dll  
runtimes\win\lib\netcoreapp2.0\Microsoft.Win32.SystemEvents.dll  
runtimes\win\lib\netcoreapp2.0\System.Drawing.Common.dll  
runtimes\win-x64\native\libSkiaSharp.dll  
runtimes\win-x86\native\libSkiaSharp.dll  
runtimes\win7-arm\native\libuv.dll  
runtimes\win7-x64\native\libuv.dll  
runtimes\win7-x86\native\libuv.dll  
WindowsZoomSDK\annoter.dll  
WindowsZoomSDK\aomagent.dll  
WindowsZoomSDK\asproxy.dll  
WindowsZoomSDK\avcodec-58.dll  
WindowsZoomSDK\avformat-58.dll  
WindowsZoomSDK\avutil-56.dll  
WindowsZoomSDK\CmmBrowserEngine.dll  
WindowsZoomSDK\Cmmlib.dll  
WindowsZoomSDK\CptControl.exe  
WindowsZoomSDK\CptInstall.exe  
WindowsZoomSDK\CptShare.dll  
WindowsZoomSDK\crashrpt\_lang.ini  
WindowsZoomSDK\dingdong.pcm  
WindowsZoomSDK\dingdong1.pcm  
WindowsZoomSDK\directui\_license.txt  
WindowsZoomSDK\DllSafeCheck.dll  
WindowsZoomSDK\Droplet.pcm  
WindowsZoomSDK\DuiLib.dll  
WindowsZoomSDK\duilib\_license.txt  
WindowsZoomSDK\leave.pcm  
WindowsZoomSDK\libcrypto-1\_1.dll  
WindowsZoomSDK\libfaac.dll  
WindowsZoomSDK\libmpg123.dll  
WindowsZoomSDK\libssl-1\_1.dll  
WindowsZoomSDK\mcm.dll  
WindowsZoomSDK\mdnsclient.dll  
WindowsZoomSDK\mDNSResponder.dll  
WindowsZoomSDK\meeting\_chat\_chime.pcm  
WindowsZoomSDK\meeting\_raisehand\_chime.pcm  
WindowsZoomSDK\msaalib.dll  
WindowsZoomSDK\nanosvg\_LICENSE.txt  
WindowsZoomSDK\nydus.dll  
WindowsZoomSDK\record\_start.pcm  
WindowsZoomSDK\record\_stop.pcm  
WindowsZoomSDK\reslib.dll  
WindowsZoomSDK\ring.pcm  
WindowsZoomSDK\sdk.dll  
WindowsZoomSDK\sdkExt.dll  
WindowsZoomSDK\ssb\_sdk.dll  
WindowsZoomSDK\swscale-5.dll  
WindowsZoomSDK\tp.dll  
WindowsZoomSDK\turbojpeg.dll  
WindowsZoomSDK\UIBase.dll  
WindowsZoomSDK\util.dll  
WindowsZoomSDK\viper.dll  
WindowsZoomSDK\viperex.dll  
WindowsZoomSDK\wr\_ding.pcm  
WindowsZoomSDK\XmppDll.dll  
WindowsZoomSDK\zChatApp.dll  
WindowsZoomSDK\zCrashReport.dll  
WindowsZoomSDK\zCrashReport.exe  
WindowsZoomSDK\zcsairhost.exe  
WindowsZoomSDK\zcscpthost.exe  
WindowsZoomSDK\zCSCptService.exe  
WindowsZoomSDK\zData.dll  
WindowsZoomSDK\zKBCrypto.dll  
WindowsZoomSDK\zlt.dll  
WindowsZoomSDK\zmb.dll  
WindowsZoomSDK\zoom\_sdk\_demo.exe.config  
WindowsZoomSDK\zoom\_sdk\_dotnet\_wrap.dll  
WindowsZoomSDK\zoom\_sdk\_dotnet\_wrap.dll.metagen  
WindowsZoomSDK\zSDK.dll  
WindowsZoomSDK\zTscoder.exe  
WindowsZoomSDK\zVideoApp.dll  
WindowsZoomSDK\zVideoUI.dll  
WindowsZoomSDK\zWebService.dll  
WindowsZoomSDK\zWinRes.dll  
WindowsZoomSDK\zzhost.dll  
WindowsZoomSDK\Aomhost\aomhost64.exe  
WindowsZoomSDK\Aomhost\avcodec-58.dll  
WindowsZoomSDK\Aomhost\avformat-58.dll  
WindowsZoomSDK\Aomhost\avutil-56.dll  
WindowsZoomSDK\Aomhost\clDNN64.dll  
WindowsZoomSDK\Aomhost\crashrpt\_lang.ini  
WindowsZoomSDK\Aomhost\DllSafeCheck.dll  
WindowsZoomSDK\Aomhost\DllSafeCheck64.dll  
WindowsZoomSDK\Aomhost\libcml.dll  
WindowsZoomSDK\Aomhost\mkldnn.dll  
WindowsZoomSDK\Aomhost\mphost.exe  
WindowsZoomSDK\Aomhost\swresample-3.dll  
WindowsZoomSDK\Aomhost\swscale-5.dll  
WindowsZoomSDK\Aomhost\zCrashReport.dll  
WindowsZoomSDK\Aomhost\zCrashReport.exe  
WindowsZoomSDK\Aomhost\zCrashReport64.dll  
WindowsZoomSDK\Aomhost\zCrashReport64.exe  
WindowsZoomSDK\Aomhost\zmp.dll  
WindowsZoomSDK\ringtone\G Arpeggio.pcm  
WindowsZoomSDK\ringtone\G Step.pcm  
WindowsZoomSDK\ringtone\Gamelan.pcm  
WindowsZoomSDK\ringtone\localization.xml  
WindowsZoomSDK\ringtone\Pizzicato Strings.pcm  
WindowsZoomSDK\ringtone\Reed Organ.pcm  
WindowsZoomSDK\ringtone\ring.pcm  
WindowsZoomSDK\ringtone\ringtone.xml  
WindowsZoomSDK\ringtone\Ukulele G.pcm  
WindowsZoomSDK\ringtone\Ukulele.pcm  
WindowsZoomSDK\ringtone\Vibraphone.pcm

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [January 28, 2021, 8:27pm UTC](https://devforum.zoom.us/t/onuserleave-signal-received-when-calling-admituser-if-user-is-in-waiting-room/39030/7 "2021-01-28T20:27:12Z")

</div>

Hey @yuriy,

When you get the onUserLeave callback, is the user still admitted into the meeting?  
Can you provide some reproductions steps using our demo application so that we can take a further look?

Thanks!  
Michael
