mirror of
https://github.com/kepler155c/opus
synced 2025-12-18 14:18:06 +00:00
proxy apis over wireless
This commit is contained in:
@@ -24,6 +24,9 @@ function Routine:terminate()
|
||||
end
|
||||
|
||||
function Routine:resume(event, ...)
|
||||
if coroutine.status(self.co) == 'running' then
|
||||
return
|
||||
end
|
||||
|
||||
if not self.co then
|
||||
error('Cannot resume a dead routine')
|
||||
|
||||
Reference in New Issue
Block a user