diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2013-01-10 15:06:28 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2013-01-10 15:06:28 +0100 |
commit | e1140244a6ce596a9a6d647b45e413896f6d806f (patch) | |
tree | 5f80ce207bf232cbf26f3a199759c01ed4d21783 | |
parent | b2fd7d91a8f323567465f881e2b7f15c515a64f9 (diff) | |
download | lanes-e1140244a6ce596a9a6d647b45e413896f6d806f.tar.gz lanes-e1140244a6ce596a9a6d647b45e413896f6d806f.tar.bz2 lanes-e1140244a6ce596a9a6d647b45e413896f6d806f.zip |
Don't pull "package" settings in the timer lane
Fixes an error when requiring lanes with active timers after having required "luarocks.loader" (issue #42).
-rw-r--r-- | src/lanes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.lua b/src/lanes.lua index 9029534..8c135c2 100644 --- a/src/lanes.lua +++ b/src/lanes.lua | |||
@@ -521,7 +521,7 @@ if first_time then | |||
521 | end | 521 | end |
522 | end | 522 | end |
523 | end | 523 | end |
524 | gen( "*", { priority=max_prio}, timer_body)() -- "*" instead of "io,package" for LuaJIT compatibility... | 524 | gen( "*", { package= {}, priority = max_prio}, timer_body)() -- "*" instead of "io,package" for LuaJIT compatibility... |
525 | end | 525 | end |
526 | 526 | ||
527 | ----- | 527 | ----- |