mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat: debug cmd
This commit is contained in:
@ -16,7 +16,7 @@ waybar::modules::Custom::Custom(const std::string& name, const std::string& id,
|
||||
|
||||
waybar::modules::Custom::~Custom() {
|
||||
if (pid_ != -1) {
|
||||
kill(-pid_, 9);
|
||||
killpg(pid_, SIGTERM);
|
||||
pid_ = -1;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user