Skip to content

Commit 409e0ce

Browse files
authored
Fix error message introduced in #17499 (#17510)
1 parent 25a0114 commit 409e0ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ self.onmessage = (e) => {
213213

214214
if (!initializedJS) {
215215
#if EMBIND
216-
#if ASSERTIONS
216+
#if PTHREADS_DEBUG
217217
err('Pthread 0x' + Module['_pthread_self']().toString(16) + ' initializing embind.');
218218
#endif
219219
// Embind must initialize itself on all threads, as it generates support JS.

0 commit comments

Comments
 (0)