Pārlūkot izejas kodu

do the merge thing

vrld 14 gadi atpakaļ
vecāks
revīzija
1f50a932dc
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/modules/thread/wrap_Thread.cpp

+ 2 - 0
src/modules/thread/wrap_Thread.cpp

@@ -204,7 +204,9 @@ namespace thread
 				return luaL_error(L, "Expected boolean, number, string or userdata");
 		}
 		t->set(name, v);
+		t->lock();
 		v->release();
+		t->unlock();
 		return 0;
 	}