mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
@@ -97,7 +97,7 @@ GLFramebuffer::GLFramebuffer(int x, int y): mReInit(true), mShutDown(false), mIn
|
||||
if (input_fd < 0)
|
||||
lt_info("%s: could not open /tmp/neutrino.input FIFO: %m\n", __func__);
|
||||
initKeys();
|
||||
Thread::startThread();
|
||||
SimpleThread::startThread();
|
||||
while (!mInitDone)
|
||||
usleep(1);
|
||||
}
|
||||
@@ -105,7 +105,7 @@ GLFramebuffer::GLFramebuffer(int x, int y): mReInit(true), mShutDown(false), mIn
|
||||
GLFramebuffer::~GLFramebuffer()
|
||||
{
|
||||
mShutDown = true;
|
||||
Thread::joinThread();
|
||||
SimpleThread::joinThread();
|
||||
if (input_fd >= 0)
|
||||
close(input_fd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user