Add missing record close

This commit is contained in:
Willy-JL
2024-03-28 22:31:53 +00:00
parent 58b8a13286
commit 37e958e3ce

View File

@@ -178,6 +178,7 @@ static void js_widget_load_image_xbm(struct mjs* mjs) {
} while(false);
storage_file_free(file);
furi_record_close(RECORD_STORAGE);
if(xbm == NULL) {
mjs_return(mjs, MJS_UNDEFINED);