Fix crash when exporting projects with shared libraries
This commit is contained in:
@@ -188,6 +188,10 @@ struct FileAccessRef {
|
||||
operator FileAccess *() { return f; }
|
||||
|
||||
FileAccessRef(FileAccess *fa) { f = fa; }
|
||||
FileAccessRef(FileAccessRef &&other) {
|
||||
f = other.f;
|
||||
other.f = nullptr;
|
||||
}
|
||||
~FileAccessRef() {
|
||||
if (f) {
|
||||
memdelete(f);
|
||||
|
||||
Reference in New Issue
Block a user