basho / riak-nodejs-client

The Riak client for Node.js.
Apache License 2.0
72 stars 29 forks source link

Command callbacks during shutdown [JIRA: CLIENTS-828] #150

Closed lukebakken closed 1 year ago

lukebakken commented 8 years ago

During node and cluster shutdown, it appears that command callbacks can still be called. One such callback is here:

https://github.com/basho/riak-nodejs-client/blob/master/lib/core/riakcluster.js#L270

If you run the github/issue-137/app.js program, you'll see this called during shutdown.

Need to determine the best way to deal with command callbacks during shutdown.