diff options
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r-- | common/resourceaccess.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp index c878143..7b4d839 100644 --- a/common/resourceaccess.cpp +++ b/common/resourceaccess.cpp | |||
@@ -483,6 +483,10 @@ void ResourceAccess::connectionError(QLocalSocket::LocalSocketError error) | |||
483 | const bool resourceCrashed = d->partialMessageBuffer.contains("PANIC"); | 483 | const bool resourceCrashed = d->partialMessageBuffer.contains("PANIC"); |
484 | if (resourceCrashed) { | 484 | if (resourceCrashed) { |
485 | SinkError() << "The resource crashed!"; | 485 | SinkError() << "The resource crashed!"; |
486 | mResourceStatus = Sink::ApplicationDomain::ErrorStatus; | ||
487 | Sink::Notification n; | ||
488 | n.type = Sink::Notification::Status; | ||
489 | emit notification(n); | ||
486 | d->abortPendingOperations(); | 490 | d->abortPendingOperations(); |
487 | } else if (error == QLocalSocket::PeerClosedError) { | 491 | } else if (error == QLocalSocket::PeerClosedError) { |
488 | SinkLog() << "The resource closed the connection."; | 492 | SinkLog() << "The resource closed the connection."; |