diff options
-rw-r--r-- | common/listener.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/listener.cpp b/common/listener.cpp index 2f5bd47..983e438 100644 --- a/common/listener.cpp +++ b/common/listener.cpp | |||
@@ -88,6 +88,12 @@ Listener::~Listener() | |||
88 | 88 | ||
89 | void Listener::emergencyAbortAllConnections() | 89 | void Listener::emergencyAbortAllConnections() |
90 | { | 90 | { |
91 | Sink::Notification n; | ||
92 | n.type = Sink::Notification::Status; | ||
93 | n.message = "The resource crashed."; | ||
94 | n.code = Sink::ApplicationDomain::ErrorStatus; | ||
95 | notify(n); | ||
96 | |||
91 | for (Client &client : m_connections) { | 97 | for (Client &client : m_connections) { |
92 | if (client.socket) { | 98 | if (client.socket) { |
93 | SinkWarning() << "Sending panic"; | 99 | SinkWarning() << "Sending panic"; |