You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EDIT2: By now I managed to figure out what was causing my problems. Code isn't neccessary. The Problem was that using a SaveFileDialog will change the working directory of the program to the folder in which the selected File is stored. BUT to add insult to injury, this is only the case for Windows, not for Linux. I dont think that's a real bug, but I think the behavior should be the same on both platforms.
Feel free to close this again if you disagree.
EDIT: Nvm, I was trying to reproduce the bug with a minimal example for hours, and in my delusion I forgot to add the required text file ... Ill reopen this once I manage to actually reproduce the problem ...
The following example will either crash, or freeze if compiled with --gc:arc
The line where it freezes is the one with readFile.
This happens only on Windows 10 but not on Ubuntu. It happens with mingw and msvc. Tested with nigui 0.2.4 and 0.2.5 (the --gc:arc option was only tested with 0.2.4)
EDIT2: By now I managed to figure out what was causing my problems. Code isn't neccessary. The Problem was that using a SaveFileDialog will change the working directory of the program to the folder in which the selected File is stored. BUT to add insult to injury, this is only the case for Windows, not for Linux. I dont think that's a real bug, but I think the behavior should be the same on both platforms.
Feel free to close this again if you disagree.
EDIT: Nvm, I was trying to reproduce the bug with a minimal example for hours, and in my delusion I forgot to add the required text file ... Ill reopen this once I manage to actually reproduce the problem ...
The following example will either crash, or freeze if compiled with
--gc:arc
The line where it freezes is the one with
readFile
.This happens only on Windows 10 but not on Ubuntu. It happens with mingw and msvc. Tested with nigui 0.2.4 and 0.2.5 (the --gc:arc option was only tested with 0.2.4)
Btw, this might be related to #112
The text was updated successfully, but these errors were encountered: