Commit d1a49a24 authored by Thibaut Démare's avatar Thibaut Démare

Fix a bug of null value with clear senders

parent 818f610c
...@@ -71,7 +71,8 @@ public class GSManager { ...@@ -71,7 +71,8 @@ public class GSManager {
public static void clearSenders() { public static void clearSenders() {
for (GSSender sender : senders.values()) for (GSSender sender : senders.values())
sender.close(); if(sender != null)
sender.close();
senders.clear(); senders.clear();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment