Skip to content

Commit 18f4a3f

Browse files
committed
Merge
1 parent 4d46234 commit 18f4a3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TSRM/TSRM.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,11 @@ static void allocate_new_resource(tsrm_tls_entry **thread_resources_ptr, THREAD_
288288
}
289289
}
290290

291-
tsrm_mutex_unlock(tsmm_mutex);
292-
293291
if (tsrm_new_thread_end_handler) {
294292
tsrm_new_thread_end_handler(thread_id, &((*thread_resources_ptr)->storage));
295293
}
294+
295+
tsrm_mutex_unlock(tsmm_mutex);
296296
}
297297

298298

0 commit comments

Comments
 (0)