Skip to content

Commit 1b8ce30

Browse files
committed
remove check for static data
1 parent 2b6857c commit 1b8ce30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pthread/test_pthread_proxy_deadlock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pthread_t looper;
1919
// executes the system queue during every allocation to make the behavior
2020
// deterministic.
2121
void *malloc(size_t size) {
22-
if (emscripten_proxy_get_system_queue() && emscripten_is_main_runtime_thread()) {
22+
if (emscripten_is_main_runtime_thread()) {
2323
emscripten_proxy_execute_queue(emscripten_proxy_get_system_queue());
2424
}
2525
void *ptr = emscripten_builtin_malloc(size);

0 commit comments

Comments
 (0)