summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces')
-rw-r--r--libs/surfaces/osc/osc.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc
index 7942bace6d..5878b34d80 100644
--- a/libs/surfaces/osc/osc.cc
+++ b/libs/surfaces/osc/osc.cc
@@ -277,19 +277,11 @@ OSC::stop ()
BaseUI::quit ();
if (_osc_server) {
- int fd = lo_server_get_socket_fd(_osc_server);
- if (fd >=0) {
- close(fd);
- }
lo_server_free (_osc_server);
_osc_server = 0;
}
if (_osc_unix_server) {
- int fd = lo_server_get_socket_fd(_osc_unix_server);
- if (fd >=0) {
- close(fd);
- }
lo_server_free (_osc_unix_server);
_osc_unix_server = 0;
}