JetBrains / UnrealLink

Apache License 2.0
128 stars 24 forks source link

Fix hang on editor crash #275

Closed KristofMorva closed 5 months ago

KristofMorva commented 5 months ago

In the past months every time my editor crashed, it has hanged and I had to kill it from the Task Manager. I finally had time to investigate, and there is a deadlock caused by FRiderOutputDevice.

The events leading to the deadlock (i.e. if debug crash command is run):

I've solved it by moving GLog->RemoveOutputDevice(this) to the constructor, as that's how FOutputLogHistory : public FOutputDevice handles this case too.