Skip to content

Commit 7faaebd

Browse files
committed
Fix issue where dest would be called while undef
1 parent dde19fa commit 7faaebd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/library_sockfs.js

+1
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ addToLibrary({
644644
#endif
645645
dest.msg_send_queue.push(data);
646646
return length;
647+
dest?.msg_send_queue.push(data);
647648
}
648649

649650
try {

0 commit comments

Comments
 (0)