9abc2dfa4933266b7f385b75c65527d512441363

While the crash is in 2.8, it's possible undo operates on data which isn't only owned by the current scene (any object for eg). Thanks to @mont29 for suggesting the fix.
…
Description
No description provided
Languages
C++
78.1%
Python
15%
C
2.8%
GLSL
1.8%
CMake
1.2%
Other
0.9%