mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix ZipIO crash when reused (and possible leaks).
This commit is contained in:
parent
9963ae3553
commit
d36c5514d3
12 changed files with 70 additions and 41 deletions
|
@ -301,7 +301,8 @@ Error EditorExportPlatformUWP::export_project(const Ref<EditorExportPreset> &p_p
|
|||
AppxPackager packager;
|
||||
packager.init(fa_pack);
|
||||
|
||||
zlib_filefunc_def io = zipio_create_io();
|
||||
Ref<FileAccess> io_fa;
|
||||
zlib_filefunc_def io = zipio_create_io(&io_fa);
|
||||
|
||||
if (ep.step("Creating package...", 0)) {
|
||||
return ERR_SKIP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue