diff options
author | Benoit Germain <bnt period germain arrobase gmail period com> | 2014-03-19 10:53:08 +0100 |
---|---|---|
committer | Benoit Germain <bnt period germain arrobase gmail period com> | 2014-03-19 10:53:08 +0100 |
commit | 43343cc59b54ebf216bc3519abcf4cd3e1f0243f (patch) | |
tree | 8dcef54c74fe8ff6a93a00c9ec2c81a40444a26d /src/lanes.c | |
parent | 0ffafefaf5ef410fa0da95ac1860e817428531ed (diff) | |
download | lanes-43343cc59b54ebf216bc3519abcf4cd3e1f0243f.tar.gz lanes-43343cc59b54ebf216bc3519abcf4cd3e1f0243f.tar.bz2 lanes-43343cc59b54ebf216bc3519abcf4cd3e1f0243f.zip |
Don't mutex-wrap require() more than once
Diffstat (limited to 'src/lanes.c')
-rw-r--r-- | src/lanes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.c b/src/lanes.c index f46046e..6b3264a 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
@@ -3108,7 +3108,7 @@ LUAG_FUNC( configure) | |||
3108 | STACK_MID( L, 0); | 3108 | STACK_MID( L, 0); |
3109 | 3109 | ||
3110 | // Serialize calls to 'require' from now on, also in the primary state | 3110 | // Serialize calls to 'require' from now on, also in the primary state |
3111 | serialize_require( L); | 3111 | serialize_require( U, L); |
3112 | 3112 | ||
3113 | // Retrieve main module interface table | 3113 | // Retrieve main module interface table |
3114 | lua_pushvalue( L, lua_upvalueindex( 2)); // settings M | 3114 | lua_pushvalue( L, lua_upvalueindex( 2)); // settings M |