$ERR_WRONGTHREAD

701

.NET xfServer client I/O on wrong thread

Open channels were not explicitly closed after a call to S_SERVER_THREAD_INIT. When S_SERVER_THREAD_INIT is used to initialize a thread for a new xfServer connection, you must close all channels opened on that thread after the call to S_SERVER_THREAD_INIT, before the thread is destroyed, and never allow the channels to be closed on the garbage collector thread.