mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-19 04:06:43 -04:00
theoretically fix MightyPirates/#3580
This commit is contained in:
parent
1c0dc67182
commit
8142d76e44
@ -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