ngrok / ngrok-javascript

Embed ngrok secure ingress into your Node.js apps with a single line of code.
https://ngrok.com
Apache License 2.0
94 stars 18 forks source link

unref threadsafe functions for clean shutdown #24

Closed bobzilladev closed 1 year ago

bobzilladev commented 1 year ago

Mark the callback threadsafe functions "to indicate that the event loop running on the main thread may exit before func is destroyed".