-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
legacy.ts was added in #13 so games that don't use NPM can include <script src="https://unpkg.com/@poki/netlib@0.0.18/dist/legacy.js"><script>.
I'm not sure when, but I guess a while ago it broke on these lines:
Lines 61 to 63 in d983058
| (async () => { | |
| try { | |
| if (this.closing) { |
This compiles to:
(async function() {
try {
if (t.closing)There is a )().catch(e => {}) below it which then swallows this error.
This seems like a bug in the compiler and I'm not sure how to fix it.
Metadata
Metadata
Assignees
Labels
No labels
