forked from premiere/premiere-libtorrent
fix open_listen_port call order
This commit is contained in:
parent
47fa9dc3ef
commit
2f099e6103
|
@ -531,8 +531,6 @@ namespace aux {
|
|||
(*m_logger) << time_now_string() << "\n";
|
||||
#endif
|
||||
|
||||
open_listen_port();
|
||||
|
||||
#ifndef TORRENT_DISABLE_DHT
|
||||
m_next_dht_torrent = m_torrents.begin();
|
||||
#endif
|
||||
|
@ -745,6 +743,8 @@ namespace aux {
|
|||
boost::bind(&session_impl::on_dht_announce, this, _1));
|
||||
#endif
|
||||
|
||||
open_listen_port();
|
||||
|
||||
m_thread.reset(new thread(boost::bind(&session_impl::main_thread, this)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue