You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Delete image on close
This commit is contained in:
@@ -153,6 +153,12 @@ void QtTextReader::Close()
|
||||
{
|
||||
// Mark as "closed"
|
||||
is_open = false;
|
||||
|
||||
// Delete the image
|
||||
image.reset();
|
||||
|
||||
info.vcodec = "";
|
||||
info.acodec = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user