Branch: refs/heads/master
  Home:   https://github.com/conformal/btcd
  Commit: c673d76979c8ad2f70ac3012489d42f04a318635
      
https://github.com/conformal/btcd/commit/c673d76979c8ad2f70ac3012489d42f04a318635
  Author: Dave Collins <[email protected]>
  Date:   2014-06-02 (Mon, 02 Jun 2014)

  Changed paths:
    M server.go

  Log Message:
  -----------
  Fix case where block mgr could hang on shutdown.

This commit resolves an issue where it was possible the block manager
could hang on shutdown due to inventory rebroadcasting.  In particular, it
adds checks to prevent modification of the of rebroadcast inventory during
shutdown and adds a drain on the channel to ensure any outstanding
messages are discarded.

Found by @dajohi who also provided some of the code.


Reply via email to