mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 03:36:47 -04:00
Merge 8142d76e447de9f9f61d1315572d8b17805dbd70 into 571482db88080d56329e8f8cf0db2a90825bf1d7
This commit is contained in:
commit
81161556e1
@ -265,6 +265,7 @@ function thread.create(fp, ...)
|
||||
local old_status = t:status()
|
||||
mt.__status = "dead"
|
||||
process.removeHandle(t, mt.attached)
|
||||
process.removeHandle(mt.process, t)
|
||||
if old_status ~= "dead" then
|
||||
event.push("thread_exit")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user