-
Michal 'vorner' Vaner authored
This will be needed in the following work. If we run in the same thread and tried to connect to self by the cc library, it would deadlock, since the library blocks waiting for answer. Also, small cleanup of shutdown is included. No functional change should be observable.
84a994f8