neo-node
neo-node copied to clipboard
The `exit` command will throw exception
Summary
It will throw a akka exception, when enter the exit command in neo-cli.
This error occurs in NeoSystem.Dispose.
public void Dispose()
{
RpcServer?.Dispose();
EnsureStoped(LocalNode);
// Dispose will call ActorSystem.Terminate()
ActorSystem.Dispose(); // <----- here
ActorSystem.WhenTerminated.Wait();
}
After investigation, the problem may be in the release of LocalNode's network resources, but I still don't know how to fix it.
Screenshots

Platform:
- OS: Centos 7.0
- Version neo-cli 3.0.0 preview
@Tommo-L, I was checking this yesterday as well.
There are other 2-3 actors, do you think that they may also need EnsureStoped();?
Is solved?
Hi @Tommo-L, #327 only fixes the "control-c" issue, I prefer to have this issue open to deal with the exception messages, ok? Thanks
Old, if remains, please re-open