S_SERVER_THREAD_SHUTDOWN

Ensure xfServer connection is closed

 

WNSupported in Synergy .NET on Windows

 

 

xcall S_SERVER_THREAD_SHUTDOWN
Important

The S_SERVER_THREAD_SHUTDOWN routine is deprecated in Synergy 12.1.1 and higher. We recommend using %DESTROY_SERVER_CONNECTION (in conjunction with %CREATE_SERVER_CONNECTION) instead.

Discussion

S_SERVER_THREAD_SHUTDOWN is required to be called on thread termination after use of S_SERVER_THREAD_INIT to ensure the thread connection shuts down and resources are released.

Note

You should only call S_SERVER_THREAD_SHUTDOWN when you have determined that all channels (including Select from channels) are closed.

See S_SERVER_THREAD_INIT for more information.