-
-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rfbShutdownServer() in threaded mode with clients connected on Win32 crashes #456
Comments
Uh, looks complicated! ;-) Some ideas:
|
After looking some more into this, it might be a bug in the WIN32THREADS implementation, which is quite new. It would really help if you could try the blooptest example (maybe extending it to call rfbShutdownServer() on its own) and see if the crash happens there as well. |
Great! Did you simply press F12 with a client connected? |
Ha, that's why it never showed up in testing. |
Hi,
I hope it is okay to post here about my issue.
Describe the bug
I'm using libvncserver in a plugin for x-plane. Everything works fine but when I'm trying to shutdown the vncserver(s) with rfbShutdownServer as long as clients are connected the application crashes. If no clients are connected it works fine.
To Reproduce
Expected Behavior
rfbShutdownServer should disconnect clients and stop the vnc server thread
Logs/Backtraces
Your environment (please complete the following information):
Additional context
LibVNCServer-0.9.13
Server init code:
Shutdown code in plugin loop:
Thank you! :)
The text was updated successfully, but these errors were encountered: