PIIODevice destructor fix

This commit is contained in:
2020-08-26 18:43:33 +03:00
parent 2a42d2a341
commit 2ef0ca6946
23 changed files with 62 additions and 35 deletions

View File

@@ -181,6 +181,7 @@ PIPeer::PIPeer(const PIString & n): PIIODevice(), inited__(false), eth_tcp_srv(P
PIPeer::~PIPeer() {
//piCout << "~PIPeer" << uint(this);
stop();
if (destroyed) return;
destroyed = true;
sync_timer.stop();