aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8b8bddf..f83339f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -947,7 +947,7 @@ int main(int argc, char **argv)
for(Channel *channel : channels)
{
- channel->update();
+ delete channel;
}
// We need to wait until our `ping` packet for disconnecting is sent to all channels