some fixes
This commit is contained in:
@@ -80,8 +80,9 @@ void PIClientServer::ClientBase::init() {
|
||||
|
||||
|
||||
void PIClientServer::ClientBase::destroy() {
|
||||
can_write = false;
|
||||
write_mutex.lock();
|
||||
close();
|
||||
piDeleteSafety(tcp);
|
||||
write_mutex.unlock();
|
||||
// piCout << "Destroyed";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user