diff --git a/vlib/v/tests/init_global_test.v b/vlib/v/tests/init_global_test.v index 791b4a73fd..227f0e3ff4 100644 --- a/vlib/v/tests/init_global_test.v +++ b/vlib/v/tests/init_global_test.v @@ -128,6 +128,7 @@ fn test_global_mutex() { } else { f2 = 17.0 } + mtx.unlock() mtx.@rlock() assert (f1 == 17.0 && f2 == 34.0625) || (f1 == 34.0625 && f2 == 17.0) mtx.runlock()