joshuaferrara / node-csgo

A node-steam plugin for Counter-Strike: Global Offensive.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement an 'exited' event

cronning9 opened this issue · comments

The 'unready' event on CSGO only triggers on unexpected interruptions to the GC connection. Currently, there is no specific event that triggers on CSGO.exit().

The README may lead one to believe that it is recommended practice to remove any event listeners on the unready event -- yet, that doesn't account for intentional exits. An exited event would be ideal here.