Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simulation support: fixed a problem with SimulationSupportPythonWrapp…
…er::run(). Indeed, it may happen, when trying to call disconnect() on pSimulation, that pSimulation has been deleted just before. So, to call disconnect() hangs up IPython and renders our Python Console window unusable. Unfortunately, there is no (easy?) way to test whether pSimulation is still valid. So, we don't call disconnect() anymore and, instead, pass Qt::UniqueConnection in our calls to connect(). This leaves the connection with waitLoop, but this isn't (shouldn't be?) a problem since waitLoop gets out of scope when leaving SimulationSupportPythonWrapper::run().
- Loading branch information