DoctorMcKay / node-steamcommunity

Interact with various interfaces on Steam Community from Node.js
https://dev.doctormckay.com/forum/8-node-steamcommunity/
MIT License
475 stars 128 forks source link

Graceful exit/destroy #303

Open Revadike opened 1 year ago

Revadike commented 1 year ago

Right now, when a node-steamcommunity instance is initialized, the node.js program will not close once all client code has executed. Most likely, rogue timer functions are still executing? It would be nice to have a method added to node-steamcommunity that allows you to gracefully exit or destroy instances.

DoctorMcKay commented 1 year ago

I'll have to look into it, but as far as I remember, you must be using some feature to generate this behavior. I believe that if you simply use steamcommunity to login, it won't hold the process running.

Revadike commented 1 year ago

I'll have to look into it, but as far as I remember, you must be using some feature to generate this behavior. I believe that if you simply use steamcommunity to login, it won't hold the process running.

I tested this. Simple login causes it.