Closed Naim2000 closed 1 year ago
@Naim2000 : hey man, just did some minimal testing with the following code and this didn't crash for me. could you make a minimal project we could look at, or produce the code that causes the issue?
Just for everyone else to see it. https://github.com/Naim2000/directory/tree/_free_r https://files.catbox.moe/c1d30j.elf
This isn't a minimal project and uses inappropriate bodged up libraries. We can't reproduce this issue with stock install.
Steps to reproduce:
Mount a device.
sd_mounted = fatMountSimple("sd", sd_card);
chdir() into it.
chdir("sd:/");
return sd_mounted;
Try unmount the device.
if (sd_mounted) {
fatUnmount("sd");
sd_card->shutdown();
sd_mounted = false;
}
Press RESET to exit the exception screen.