Skip to content

Commit cb58cb9

Browse files
committed
Try if pi doesn't crash on disconnect now.
1 parent 8c767a5 commit cb58cb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main/WebServerHelper.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ namespace http {
6868
}
6969

7070
void CWebServerHelper::RestartProxy() {
71-
// todo: This seems to crash on a Pi (fatal signal 6). Windows goes fine.
72-
// stop old threads first
7371
for (proxy_iterator it = proxymanagerCollection.begin(); it != proxymanagerCollection.end(); ++it) {
7472
(*it)->Stop();
75-
delete (*it);
73+
// todo: This seems to crash on a Pi (fatal signal 6). Windows goes fine.
74+
// stop old threads first
75+
//delete (*it);
7676
}
7777

7878
// restart threads

0 commit comments

Comments
 (0)