1
0
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:
kepler155c@gmail.com
2017-10-24 23:01:40 -04:00
parent 84b2b8ce63
commit 7fd93e8a8b
7 changed files with 63 additions and 13 deletions

View File

@@ -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')