From b5eaa87ce35409e4522edf670da4981e127f9908 Mon Sep 17 00:00:00 2001 From: codereader Date: Thu, 14 Oct 2021 12:15:59 +0200 Subject: [PATCH] #5780: Unsubscribe the FileSaveConfirmationHandler on shutdown --- radiant/ui/UserInterfaceModule.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/radiant/ui/UserInterfaceModule.cpp b/radiant/ui/UserInterfaceModule.cpp index 8903e1e891..46491e3d76 100644 --- a/radiant/ui/UserInterfaceModule.cpp +++ b/radiant/ui/UserInterfaceModule.cpp @@ -246,6 +246,7 @@ void UserInterfaceModule::shutdownModule() _longOperationHandler.reset(); _mapFileProgressHandler.reset(); + _fileSaveConfirmationHandler.reset(); _fileOverwriteConfirmationHandler.reset(); _fileSelectionRequestHandler.reset(); _autoSaveRequestHandler.reset();