[rkward/frameworks] rkward/rbackend/rkwarddevice: Don't forget to close graphics server socket, also if no graphics have been created.

Thomas Friedrichsmeier null at kde.org
Wed May 24 20:01:14 UTC 2017


Git commit a5568a3c0186f033ed2ca9e345303969c8e3d2f4 by Thomas Friedrichsmeier.
Committed on 24/05/2017 at 20:01.
Pushed by tfry into branch 'frameworks'.

Don't forget to close graphics server socket, also if no graphics have been created.

M  +1    -0    rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp

https://commits.kde.org/rkward/a5568a3c0186f033ed2ca9e345303969c8e3d2f4

diff --git a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
index dfdfc49e..f5c1f477 100644
--- a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
+++ b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_frontendtransmitter.cpp
@@ -49,6 +49,7 @@ RKGraphicsDeviceFrontendTransmitter::~RKGraphicsDeviceFrontendTransmitter () {
 	RK_TRACE (GRAPHICS_DEVICE);
 
 	if (connection) connection->close ();
+	if (local_server->isListening ()) local_server->close ();
 }
 
 void RKGraphicsDeviceFrontendTransmitter::setupServer () {



More information about the rkward-tracker mailing list