Compare commits

..

1 Commits

Author SHA1 Message Date
drendog 1ae91cfe3d
Merge 712916a450 into f2dc48d92f 2024-06-28 18:54:30 +02:00
3 changed files with 5 additions and 5 deletions

View File

@ -7,9 +7,7 @@ CWatchdog::~CWatchdog() {
m_bExitThread = true;
m_bNotified = true;
m_cvWatchdogCondition.notify_all();
if (m_pWatchdog && m_pWatchdog->joinable())
m_pWatchdog->join();
m_pWatchdog.reset();
}
CWatchdog::CWatchdog() {
@ -35,6 +33,8 @@ CWatchdog::CWatchdog() {
m_bNotified = false;
}
});
m_pWatchdog->detach();
}
void CWatchdog::startWatching() {

View File

@ -6,7 +6,7 @@
#include <dlfcn.h>
CRenderbuffer::~CRenderbuffer() {
if (!g_pCompositor || g_pCompositor->m_bIsShuttingDown || !g_pHyprRenderer)
if (!g_pCompositor)
return;
g_pHyprRenderer->makeEGLCurrent();

View File

@ -9,7 +9,7 @@ CTexture::CTexture() {
}
CTexture::~CTexture() {
if (m_bNonOwning || !g_pCompositor || g_pCompositor->m_bIsShuttingDown || !g_pHyprRenderer)
if (m_bNonOwning)
return;
g_pHyprRenderer->makeEGLCurrent();