tweag / inline-js

Call JavaScript from Haskell, and vice versa!
https://inline-js.netlify.app
131 stars 10 forks source link

Clear all JSVal on close #62

Closed TerrorJack closed 4 years ago

TerrorJack commented 4 years ago

When the session is closed, no JSValFree messages may be received by node again. We should drop all JSVals to plug a space leak here, just in case node needs to run for some more time.