fix:dwl tag crash when use wlr-randr enable monitor

pull/3015/head
DreamMaoMao 2024-03-16 20:10:05 +08:00
parent 8174dce776
commit c5a6299398
1 changed files with 3 additions and 0 deletions

View File

@ -155,6 +155,9 @@ Tags::Tags(const std::string &id, const waybar::Bar &bar, const Json::Value &con
}
Tags::~Tags() {
if(output_status_) {
zdwl_ipc_output_v2_destroy(output_status_);
}
if (status_manager_) {
zdwl_ipc_manager_v2_destroy(status_manager_);
}