mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Allowed reopen for non named threads
This commit is contained in:
@@ -294,9 +294,11 @@ function Server._thread:close()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
if is_type(self.name,'string') then threads.paused[self.name]=self.uuid self.opened=nil
|
self.opened=nil
|
||||||
if self.reopen == true then self:open() end
|
if self.reopen == true then self:open() else
|
||||||
else threads.all[uuid] = nil threads.all._n = threads.all._n-1 end
|
if is_type(self.name,'string') then threads.paused[self.name]=self.uuid
|
||||||
|
else threads.all[uuid] = nil threads.all._n = threads.all._n-1 end
|
||||||
|
end
|
||||||
return _return
|
return _return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user