git-svn-id: svn://db.shs.com.ru/pip@767 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -187,6 +187,9 @@ PIPeer::~PIPeer() {
|
|||||||
//piCout << "~PIPeer" << uint(this);
|
//piCout << "~PIPeer" << uint(this);
|
||||||
if (destroyed) return;
|
if (destroyed) return;
|
||||||
destroyed = true;
|
destroyed = true;
|
||||||
|
sync_timer.stop();
|
||||||
|
diag_s.stop();
|
||||||
|
diag_d.stop();
|
||||||
PIMutexLocker ml(peers_mutex);
|
PIMutexLocker ml(peers_mutex);
|
||||||
piForeach (PeerInfo & p, peers)
|
piForeach (PeerInfo & p, peers)
|
||||||
if (p._data) {
|
if (p._data) {
|
||||||
@@ -194,9 +197,6 @@ PIPeer::~PIPeer() {
|
|||||||
p._data->dt_out.stop();
|
p._data->dt_out.stop();
|
||||||
p._data->t.stop(true);
|
p._data->t.stop(true);
|
||||||
}
|
}
|
||||||
sync_timer.stop();
|
|
||||||
diag_s.stop();
|
|
||||||
diag_d.stop();
|
|
||||||
destroyEths();
|
destroyEths();
|
||||||
piForeach (PIEthernet * i, eths_mcast) {
|
piForeach (PIEthernet * i, eths_mcast) {
|
||||||
if (!i) continue;
|
if (!i) continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user