diff options
| author | Austin Hellyer <[email protected]> | 2017-01-24 16:28:52 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2017-01-24 16:28:52 -0800 |
| commit | f16f57b124c4f768d500e5d5763aa58b361c2b8a (patch) | |
| tree | 70e92384cdf10942943784c9f27fd4f9f1c7752c /src | |
| parent | Fix no-framework compiles (diff) | |
| download | serenity-f16f57b124c4f768d500e5d5763aa58b361c2b8a.tar.xz serenity-f16f57b124c4f768d500e5d5763aa58b361c2b8a.zip | |
Fix shard immediately rebooting on handle start
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index 5b5f236..b5787c5 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -1242,6 +1242,8 @@ fn boot_shard(info: BootInfo) -> Result<(Shard, ReadyEvent, Receiver<WebSocketSt } fn monitor_shard(mut info: MonitorInfo) { + handle_shard(&mut info); + loop { let mut boot_successful = false; |