Skip to content

Commit

Permalink
Fix file locked issue when exporting to Web.
Browse files Browse the repository at this point in the history
  • Loading branch information
zaevi committed Oct 11, 2022
1 parent 5aadc61 commit 55a4911
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 55a4911

Please sign in to comment.