git-svn-id: svn://db.shs.com.ru/pip@767 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-27 20:23:08 +00:00
parent 1a885aa086
commit a2cd119e32

View File

@@ -187,6 +187,9 @@ PIPeer::~PIPeer() {
//piCout << "~PIPeer" << uint(this);
if (destroyed) return;
destroyed = true;
sync_timer.stop();
diag_s.stop();
diag_d.stop();
PIMutexLocker ml(peers_mutex);
piForeach (PeerInfo & p, peers)
if (p._data) {
@@ -194,9 +197,6 @@ PIPeer::~PIPeer() {
p._data->dt_out.stop();
p._data->t.stop(true);
}
sync_timer.stop();
diag_s.stop();
diag_d.stop();
destroyEths();
piForeach (PIEthernet * i, eths_mcast) {
if (!i) continue;