summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol/Transmitter.hxx
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-07 09:03:41 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-07 09:06:00 +0200
commitef7b382efc1eeb0edd4358be5ad8e4864ae14cc5 (patch)
treeda5d7f3c32ab955d287f3843af28024d31b73dc7 /sd/source/ui/remotecontrol/Transmitter.hxx
parenta554b8e38fd5f4d1b613344304e012c9abc3c870 (diff)
Fixed segfault on client exit.
Change-Id: I802551094e0cae2a4e1709723f0fc1661ba32af5
Diffstat (limited to 'sd/source/ui/remotecontrol/Transmitter.hxx')
-rw-r--r--sd/source/ui/remotecontrol/Transmitter.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/Transmitter.hxx b/sd/source/ui/remotecontrol/Transmitter.hxx
index b042454ca494..1b83458b04cc 100644
--- a/sd/source/ui/remotecontrol/Transmitter.hxx
+++ b/sd/source/ui/remotecontrol/Transmitter.hxx
@@ -28,6 +28,7 @@ public:
Transmitter( osl::StreamSocket &aSocket );
~Transmitter();
void addMessage( const rtl::OString& aMessage, const Priority aPriority );
+ void notifyFinished();
private:
void execute();
@@ -35,6 +36,7 @@ private:
::osl::StreamSocket mStreamSocket;
::osl::Condition mQueuesNotEmpty;
+ ::osl::Condition mFinishRequested;
::osl::Mutex mQueueMutex;