fix:dwl tag crash when use wlr-randr enable monitor
parent
8174dce776
commit
c5a6299398
|
@ -155,6 +155,9 @@ Tags::Tags(const std::string &id, const waybar::Bar &bar, const Json::Value &con
|
||||||
}
|
}
|
||||||
|
|
||||||
Tags::~Tags() {
|
Tags::~Tags() {
|
||||||
|
if(output_status_) {
|
||||||
|
zdwl_ipc_output_v2_destroy(output_status_);
|
||||||
|
}
|
||||||
if (status_manager_) {
|
if (status_manager_) {
|
||||||
zdwl_ipc_manager_v2_destroy(status_manager_);
|
zdwl_ipc_manager_v2_destroy(status_manager_);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue