MemstickScreen: Cleanly cancel instead of blocking the back button if space calculation is underway

This commit is contained in:
Henrik Rydgård committed 2025-05-28 15:27:00 +02:00
1 parent a0ba0d2f7d
commit 6b987fa4ac
7 files changed
+95 -31

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ public:
virtual TaskType Type() const = 0;
virtual TaskPriority Priority() const = 0;
virtual void Run() = 0;
virtual bool Cancellable() { return false; }
virtual bool Cancellable() const { return false; }
virtual void Cancel() {}
virtual uint64_t id() { return 0; }
virtual void Release() { delete this; }