aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/variable.c b/variable.c
index 2c69e2169c..cb24076dd0 100644
--- a/variable.c
+++ b/variable.c
@@ -2472,6 +2472,7 @@ rb_autoload_load(VALUE mod, ID id)
}
/* autoload_data_i can be deleted by another thread while require */
+ state.result = Qfalse;
result = rb_ensure(autoload_require, (VALUE)&state,
autoload_reset, (VALUE)&state);