WIP catch IOError
This commit is contained in:
parent
353329bbea
commit
946d113aad
|
@ -64,7 +64,11 @@ public class ConnectionManager : Object {
|
|||
if (stream != null) {
|
||||
stream.detach_modules();
|
||||
|
||||
yield stream.disconnect();
|
||||
try {
|
||||
yield stream.disconnect();
|
||||
} catch (IOError e) {
|
||||
warning(@"caught IOError $(e.code)");
|
||||
}
|
||||
}
|
||||
stream = null;
|
||||
uuid = Xmpp.random_uuid();
|
||||
|
|
Loading…
Reference in New Issue