tact
tact copied to clipboard
Fix `MaxListenersExceededWarning` warning observed when running tests on macOS
...
💼 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
...
The problem is somewhere inside of the func compiler used by Tact
@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 :)