]> gerrit.simantics Code Review - simantics/platform.git/commit
Importing TG files creates copies of files without deleting them. 17/4917/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 16 Aug 2022 12:45:33 +0000 (15:45 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 16 Aug 2022 12:45:33 +0000 (15:45 +0300)
commitd331e06e5825b124d5a76b1fdc1b45bbb5506407
tree5336a8da8d5a9252fe39a913790ef933923aa412
parent04220731a0cac3fe6fe2c3375a73d698e11d476f
Importing TG files creates copies of files without deleting them.

Set TransferableGraphFileReader to delete temporary tg files.
Check that MigrationState is disposed where used.

gitlab #857

Change-Id: Ic31cf437c26b4a36f45f16455c6a3376fb8fc361
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/migration/MigrationStateImpl.java
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/migration/MigrationUtils.java
bundles/org.simantics.graph.db/src/org/simantics/graph/db/StreamingTransferableGraphFileReader.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/sharedontology/wizard/ModelImporter.java