[MacPorts] #44893: kdevelop: prevent a crash after closing a patch review