]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Sleep 1 second before writing diagram SVG in hope to fix profile bug 73/4673/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 10 Mar 2021 07:42:04 +0000 (09:42 +0200)
committerJussi Koskela <jussi.koskela@semantum.fi>
Wed, 10 Mar 2021 07:42:04 +0000 (09:42 +0200)
Change-Id: I6c98b014251debae0f391a08a6945491589d80da

bundles/org.simantics.diagram.svg/src/org/simantics/diagram/svg/export/DiagramToSVG.java

index 9964592f95c6136eed0b38a426fc840db49e4ca3..a8de56f612de2b283a05557ba00bfdd5b1fda7e9 100644 (file)
@@ -236,6 +236,7 @@ public class DiagramToSVG {
                        });
 
                        ICanvasSceneGraphProvider provider = DiagramNodeUtil.loadSceneGraphProvider(ctx, modelAndRVI.first, exportPlan.diagram, modelAndRVI.second);
+                       Thread.sleep(1000);
                        sgProvider.set( provider );
 
                        final Semaphore done = new Semaphore(0);