Skip to content

Commit ae2f91d

Browse files
Merge pull request #7 from AndreasAakesson/master
Reboot on panic
2 parents 0a35165 + 32c5f6d commit ae2f91d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ws_uplink.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ namespace uplink {
469469
send_message(Transport_code::PANIC, why, strlen(why));
470470
ws_->close();
471471
inet_.nic().flush();
472+
OS::reboot();
472473
}
473474

474475
void WS_uplink::send_stats()

0 commit comments

Comments
 (0)