eclipse / aCute

Eclipse aCute - C# edition in Eclipse IDE
https://projects.eclipse.org/projects/tools.acute
Eclipse Public License 2.0
78 stars 33 forks source link

"Run As > .NET Core Project" freezes UI #80

Closed mickaelistria closed 7 years ago

mickaelistria commented 7 years ago

I'm trying latest aCute on Red Hat Developers Studio. When I do "Run As > .Net Core Project", the UI seems to freeze for a few seconds. Some long-running operations are probably running in UI Thread.

LucasBullen commented 7 years ago

When running a project from the right click menu it seems that the launch is done in the UI Thread. The freeze is caused by the restoreProcess.waitFor();. Will move the dotnet build into a job.

mickaelistria commented 7 years ago

Ok. As we don't need job management here, you can also use a CompletableFuture if you prefer.

mickaelistria commented 7 years ago

Thanks @LucasBullen !