﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5974	OMEdit allows a second simulation to run before first one has quit which causes mysterious crashes	julian@…	Adeel Asghar	"If you click on the Simulate button while a simulation is already running (or being compiled) the second process clashes with the first one and either causes errors due to corrupted files, or a core dump if you are more unlucky.  

It's likely that experienced users are avoiding this so they don't encounter it, but it's a problem in the following scenario.

You start up an example and decide that the default ""Stop Time"" of one second is too short, so you open the ""Simulation Setup"" dialog, change it to 10 seconds and click ""Okay"".  Now you go back and click on the ""Simulate with Animation"", wait for a few seconds and it mysteriously crashes.  Then you try again, wait for a few seconds, and it works.  

The problem is caused by the ""Simulation Setup"" dialog unhelpfully kicking off a ""Simulate"" process when you clicked ""Okay"", which you didn't know about and you don't even want, because you're going to have to simulate it all over again to see it with animation.

At least make the simulate buttons inactive when there is already a simulation running so people don't get these crashes."	defect	reopened	blocker	1.19.0	OMEdit	v.1.15.0-dev			
