summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-12 17:39:48 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-12 17:39:48 +0100
commit5c66308d570be67aea5195426e304d2715f8734c (patch)
tree6de8cc0df125cdcd4199462917054f5f0c8d91de /common/resourceaccess.h
parenteb6e9229c8cecd4b573039fafd644a16912e31f6 (diff)
downloadsink-5c66308d570be67aea5195426e304d2715f8734c.tar.gz
sink-5c66308d570be67aea5195426e304d2715f8734c.zip
Kill all commands on failing to connect to a resource.
We have to kill pending commands as well, and we have to make sure that we call open only once the commands are actually enqueued, so we can kill them in case of failure.
Diffstat (limited to 'common/resourceaccess.h')
-rw-r--r--common/resourceaccess.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/resourceaccess.h b/common/resourceaccess.h
index de15125..c1b4253 100644
--- a/common/resourceaccess.h
+++ b/common/resourceaccess.h
@@ -145,6 +145,7 @@ private:
145 void sendCommand(const QSharedPointer<QueuedCommand> &command); 145 void sendCommand(const QSharedPointer<QueuedCommand> &command);
146 void processCommandQueue(); 146 void processCommandQueue();
147 void processPendingCommandQueue(); 147 void processPendingCommandQueue();
148 void enqueueCommand(const QSharedPointer<QueuedCommand> &command);
148 149
149 class Private; 150 class Private;
150 Private *const d; 151 Private *const d;