Before this commit, some tests had created mocked environments without destroying the parent widget. As a result, following tests may crash.
Before this commit, some tests had created mocked environments without destroying the parent widget. As a result, following tests may crash.