[studio] Make FileInfo free resources on close
All checks were successful
Build / build (push) Successful in 1m15s
All checks were successful
Build / build (push) Successful in 1m15s
This commit is contained in:
@@ -61,6 +61,8 @@ void FileInfo::draw(Context &sctx) noexcept {
|
|||||||
break;
|
break;
|
||||||
case ig::PopupResponse::OK:
|
case ig::PopupResponse::OK:
|
||||||
response.emit(r);
|
response.emit(r);
|
||||||
|
m_fileInfo.reset();
|
||||||
|
m_filePath = ox::String{};
|
||||||
close();
|
close();
|
||||||
break;
|
break;
|
||||||
case ig::PopupResponse::Cancel:
|
case ig::PopupResponse::Cancel:
|
||||||
|
|||||||
Reference in New Issue
Block a user