tact-lang / tact

Tact compiler main repository
https://tact-lang.org
MIT License
396 stars 112 forks source link

Fix `MaxListenersExceededWarning` warning observed when running tests on macOS #156

Open anton-trunov opened 9 months ago

anton-trunov commented 9 months ago
...
💼 Compiling project wallet-opt...
   > 👀 Enabling inline
   > Wallet: tact compiler
   > Wallet: func compiler
(node:513) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
   > Wallet: fift decompiler
   > Packaging
   > Wallet
   > Bindings
   > Wallet
   > Reports
   > Wallet
...
Gusarich commented 2 months ago

The problem is somewhere inside of the func compiler used by Tact

anton-trunov commented 2 months ago

@Gusarich I'm wondering if this can be replicated with @ton-community/func-js since we basically re-use a wasm build of FunC. We could create an issue there and see if someone resolves it for us :)