[tor-commits] [tor/master] Check that the log mutex is initialised before trying to lock or unlock it