fix: flush das before dc

This commit is contained in:
2025-03-14 22:25:48 +08:00
parent 33f2cc57c0
commit 45ea5f4ac8

View File

@@ -354,6 +354,9 @@ int main(int argc, char* argv[])
return 1;
}
das_out_file.flush();
das_out_file.close();
dc_out_file << "# Source Generated with Decompyle++\n";
formatted_print(dc_out_file, "# File: %s (Python %d.%d%s)\n\n", dispname,
mod.majorVer(), mod.minorVer(),
@@ -365,5 +368,8 @@ int main(int argc, char* argv[])
return 1;
}
dc_out_file.flush();
dc_out_file.close();
return 0;
}