diff --git a/src/alloy/runtime/module.cc b/src/alloy/runtime/module.cc index cdc00bce1..307dbb05e 100644 --- a/src/alloy/runtime/module.cc +++ b/src/alloy/runtime/module.cc @@ -144,6 +144,7 @@ SymbolInfo::Status Module::DefineSymbol(SymbolInfo* symbol_info) { Sleep(0); LockMutex(lock_); } while (symbol_info->status() == SymbolInfo::STATUS_DEFINING); + status = symbol_info->status(); } else { status = symbol_info->status(); }