Revert "background: unload screenshots when monitor is removed"

Pushed to the wrong remote :(
This reverts commit 1380ca04ae.
This commit is contained in:
Maximilian Seidler 2025-09-17 17:54:18 +02:00
parent 1380ca04ae
commit 7f769fa993

View file

@ -7,7 +7,6 @@
#include "../../helpers/MiscFunctions.hpp"
#include "../../core/AnimationManager.hpp"
#include "../../config/ConfigManager.hpp"
#include "src/renderer/AsyncResourceGatherer.hpp"
#include <chrono>
#include <hyprlang.hpp>
#include <filesystem>
@ -90,9 +89,6 @@ void CBackground::reset() {
reloadTimer.reset();
}
if (g_pAsyncResourceGatherer && scAsset)
g_pAsyncResourceGatherer->unloadAsset(scAsset);
blurredFB->destroyBuffer();
pendingBlurredFB->destroyBuffer();
}