Skip to content

Commit

Permalink
Do not manually delete the image
Browse files Browse the repository at this point in the history
  • Loading branch information
rofirrim committed Aug 16, 2024
1 parent fdad20f commit 5140ab7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,8 @@ void Application::on_about() {
about->set_hide_on_close();

about->signal_hide().connect(
[about, logo]() mutable {
if (logo) {
logo->unreference();
logo = nullptr;
}
[about]() mutable {
delete about;
about = nullptr;
},
false);

Expand Down

0 comments on commit 5140ab7

Please sign in to comment.