diff --git a/HDL-Batch-installer-SRC/HDL_Batch_installerMain.cpp b/HDL-Batch-installer-SRC/HDL_Batch_installerMain.cpp index f0b13ff..858286c 100644 --- a/HDL-Batch-installer-SRC/HDL_Batch_installerMain.cpp +++ b/HDL-Batch-installer-SRC/HDL_Batch_installerMain.cpp @@ -1817,6 +1817,9 @@ bool Dokan_is_installed(void) void HDL_Batch_installerFrame::OnButton4Click(wxCommandEvent& event) { +#if PFSSHELL_ALLOWED + PFSSHELL.CloseDevice(); //PFSShell with device attached will make HDL Dump write features crash +#endif if (!wxFileExists(HDLBINST_APPDATA+"\\dokan_and_fuse.ini")) { wxMessageBox(_("This is the first time you use PFSFUSE\n\nPLEASE, Keep in mind that, if you mount a partition you must unmount it when you finish using this program, otherwise, you could corrupt the mounted partition or the whole HDD"),