diff --git a/feely_pona_build.cpp b/feely_pona_build.cpp index efb45a5..5bda7e6 100644 --- a/feely_pona_build.cpp +++ b/feely_pona_build.cpp @@ -328,6 +328,7 @@ int main(int argc, char const **argv) if (Dqn_Fs_Exists(exe_path)) { Dqn_FsFile exe_file = Dqn_Fs_OpenFile(exe_path, Dqn_FsFileOpen_OpenIfExist, Dqn_FsFileAccess_Read | Dqn_FsFileAccess_Write); exe_is_locked = exe_file.error_size; + Dqn_Fs_CloseFile(&exe_file); } if (!exe_is_locked) {