b36dcc7b53f3d765e9de4c8a197e0ea75c34a08b
Prior to this update, plugins could shutdown Geth by panicking, but had no mechanism to shutdown cleanly. Simply exposing the node.Close() function (which already exists on the Node struct), plugins should be able to initiate a clean shutdown. In general, Plugins should make sparing use of this capability, but in light of the fact that they were able to do unclean shutdowns via a panic(), we can't avoid allowing them to stop Geth, and allowing them to do so cleanly seems better than relying on panics.
Description
No description provided
4.2 MiB
Languages
Go
54%
C
36%
Assembly
5.1%
Java
1.6%
Sage
1.6%
Other
1.7%