From 88fa7388de09d104a053e38b229a19c4e4ace6ae Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Wed, 28 Jan 2015 10:16:19 -0800 Subject: [PATCH] feat(core) add shutdown message --- core/core.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/core.go b/core/core.go index 0642e0e62..a065ac905 100644 --- a/core/core.go +++ b/core/core.go @@ -277,6 +277,7 @@ func (n *IpfsNode) startOnlineServicesWithHost(ctx context.Context, maybeRouter // teardown closes owned children. If any errors occur, this function returns // the first error. func (n *IpfsNode) teardown() error { + log.Debug("core is shutting down...") // owned objects are closed in this teardown to ensure that they're closed // regardless of which constructor was used to add them to the node. closers := []io.Closer{