The path variable has the exact same problem as explorer has, that is why I said it wasn't a proper solution. The Filesystem class object has already been destructed by the time the callback occurs, so accessing any member from it causes undefined behavior.
The real problematic code is not inside the Filesystem class, but in Menubar. The code immediately destructs the Filesystem after creating it.
The real problematic code is not inside the Filesystem class, but in Menubar. The code immediately destructs the Filesystem after creating it.
Code (cpp) Select
{
Filesystem fs(true);
}