X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fjogshuttle.cpp;h=8446076e95da3e74a9186a29b5f0dd867ecabb1e;hb=0ae1ad35ac158ca3a89de99c25dff38575ea1ae5;hp=b5dd0e8cbe2f641af58d8a6027f30c8957d7621b;hpb=bc8bc0fa42e3c4535b7dfef75a1fb99b35c295aa;p=kdenlive diff --git a/src/jogshuttle.cpp b/src/jogshuttle.cpp index b5dd0e8c..8446076e 100644 --- a/src/jogshuttle.cpp +++ b/src/jogshuttle.cpp @@ -95,6 +95,7 @@ void ShuttleThread::run() if (ioctl(fd, EVIOCGRAB, 1) < 0) { fprintf(stderr, "Can't get exclusive access on Jog Shuttle FILE DESCRIPTOR\n"); + close(fd); return;; }