mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
window not closing at the end
This commit is contained in:
@@ -19,6 +19,7 @@ export default function OneClickDownloadMap() {
|
||||
const mapsDownloader = MapsDownloaderService.getInstance();
|
||||
const themeService = ThemeService.getInstance();
|
||||
const progressBar = ProgressBarService.getInstance();
|
||||
const windows = WindowManagerService.getInstance();
|
||||
|
||||
const [mapInfo, setMapInfo] = useState<BsvMapDetail>(null);
|
||||
|
||||
@@ -58,7 +59,9 @@ export default function OneClickDownloadMap() {
|
||||
|
||||
});
|
||||
|
||||
promise.finally(() =>{});
|
||||
promise.finally(() =>{
|
||||
windows.close("oneclick-download-map.html");
|
||||
});
|
||||
|
||||
return () => {
|
||||
sub.unsubscribe();
|
||||
|
||||
Reference in New Issue
Block a user