Skip to content

Commit

Permalink
Merge pull request godotengine#67252 from zaevi/web_fix_export_file_l…
Browse files Browse the repository at this point in the history
…ocked

[Web] Fix file locked issue when exporting to Web.
  • Loading branch information
akien-mga committed Oct 12, 2022
2 parents 3e653c8 + 55a4911 commit 06dc464
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/web/export/export_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ Error EditorExportPlatformWeb::export_project(const Ref<EditorExportPreset> &p_p
}
html.resize(f->get_length());
f->get_buffer(html.ptrw(), html.size());
f.unref(); // close file.

// Generate HTML file with replaced strings.
_fix_html(html, p_preset, base_name, p_debug, p_flags, shared_objects, file_sizes);
Expand Down

0 comments on commit 06dc464

Please sign in to comment.