@@ -229,6 +229,8 @@ func (controller *Controller) Run(shutdownBroadcast <-chan struct{}) {
controller.splitTunnelClassifier.Shutdown()
NoticeInfo("exiting controller")
+
+ NoticeExiting()
}
// SignalComponentFailure notifies the controller that an associated component has failed.
@@ -321,6 +321,11 @@ func NoticeBuildInfo(buildDate, buildRepo, buildRev, goVersion, gomobileVersion
"gomobileVersion", gomobileVersion)
+// NoticeExiting indicates that tunnel-core is exiting imminently.
+func NoticeExiting() {
+ outputNotice("NoticeExiting", false, true)
+}
type repetitiveNoticeState struct {
message string
repeats int