ethereum / node-ethereum

[DEPRECATED] a simple standalone or embeddable Ethereum client written for Node.js
GNU General Public License v2.0
46 stars 38 forks source link

dbServer does not close when client exits #36

Closed kumavis closed 9 years ago

kumavis commented 9 years ago

when you run node-ethereum again, you get an error b/c the old instance is still running.

you should be able to make the dbServer a child process so it closes by default... right?

wanderer commented 9 years ago

yes defaintly! that was working. should be happening here https://github.com/ethereum/node-ethereum/blob/develop/lib/index.js#L293

kumavis commented 9 years ago

@wanderer are we sure that stop is being called on keyboard interupt?

wanderer commented 9 years ago

stop is being called here https://github.com/ethereum/node-ethereum/blob/develop/bin/ethereum#L25-L26

kumavis commented 9 years ago

maybe a different issue... closing for now