forked from quickshell/quickshell
feat: add Process.manageLifetime
This commit is contained in:
parent
4cfe6ee0a1
commit
62f99f5754
8 changed files with 90 additions and 6 deletions
12
src/io/init.cpp
Normal file
12
src/io/init.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "../core/plugin.hpp"
|
||||
#include "process.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
class IoPlugin: public QuickshellPlugin {
|
||||
void onReload() override { DisownedProcessContext::destroyInstance(); }
|
||||
};
|
||||
|
||||
QS_REGISTER_PLUGIN(IoPlugin);
|
||||
|
||||
} // namespace
|
Loading…
Add table
Add a link
Reference in a new issue