[tor-commits] [stem/master] Optimize adding event listeners during controller initialization