Check before disconnecting a signal (fixes #20521)
I'm not entirely sure if it's the right way to fix this issue. But as I understand it, the signal_map
is lazily populated upon connecting a signal, so I assumed it's an expected case that it may be missing the target signal when disconnect
is invoked.