Skip to content
Commit 41b8e258 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

https://bugs.kde.org/show_bug.cgi?id=347498#c8

> I experienced the following crash on exiting Umbrello:
> Application: Umbrello...  (umbrello5), signal: Segmentation fault
> [...]
> AFAICT the critical place is umlobject.cpp ... setUMLStereotype,
>    emitModified();
> We should not emit the signal during destruction.

umbrello/uml.{h,cpp}
- Add public static function shuttingDown() returning bool.
- Add private static variable s_shuttingDown with documentation on why
  this variable is static.
- In UMLApp destructor set s_shuttingDown to true.

- In function setUMLStereotype(UMLStereotype) conditionalize call to
  emitModified() on UMLApp::shuttingDown() returning false.

CCBUG:347498
parent af167857
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment