mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove or make private FileAccess close() methods.
This commit is contained in:
parent
788f355ad2
commit
d2ebac3a30
21 changed files with 44 additions and 74 deletions
|
|
@ -343,7 +343,8 @@ Error EditorExportPlatform::_save_pack_file(void *p_userdata, const String &p_pa
|
|||
ftmp->store_buffer(p_data.ptr(), p_data.size());
|
||||
|
||||
if (fae.is_valid()) {
|
||||
fae->release();
|
||||
ftmp.unref();
|
||||
fae.unref();
|
||||
}
|
||||
|
||||
int pad = _get_pad(PCK_PADDING, pd->f->get_position());
|
||||
|
|
@ -1273,7 +1274,8 @@ Error EditorExportPlatform::save_pack(const Ref<EditorExportPreset> &p_preset, b
|
|||
}
|
||||
|
||||
if (fae.is_valid()) {
|
||||
fae->release();
|
||||
fhead.unref();
|
||||
fae.unref();
|
||||
}
|
||||
|
||||
int header_padding = _get_pad(PCK_PADDING, f->get_position());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue