mirror of https://github.com/Hilbis/Hilbish
Compare commits
No commits in common. "ce0b2ab9550e6a88c52e9714d9140e4af7fa3c1f" and "f6aaf85cca1038e102d502204dcf105f3bae3651" have entirely different histories.
ce0b2ab955
...
f6aaf85cca
4
lua.go
4
lua.go
|
@ -201,8 +201,8 @@ func hshinterval(L *lua.LState) int {
|
|||
NRet: 0,
|
||||
Protect: true,
|
||||
}); err != nil {
|
||||
fmt.Fprintln(os.Stderr, "Error in interval function:\n\n", err)
|
||||
stop <- lua.LTrue // stop the interval
|
||||
fmt.Fprintln(os.Stderr,
|
||||
"Error in interval function:\n\n", err)
|
||||
}
|
||||
case <-stop:
|
||||
ticker.Stop()
|
||||
|
|
Loading…
Reference in New Issue