mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
watchdog: remove thread on destroy
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
#include <signal.h>
|
||||
#include "config/ConfigManager.hpp"
|
||||
|
||||
CWatchdog::~CWatchdog() {
|
||||
m_pWatchdog.reset();
|
||||
}
|
||||
|
||||
CWatchdog::CWatchdog() {
|
||||
m_iMainThreadPID = pthread_self();
|
||||
|
||||
|
Reference in New Issue
Block a user