From cbef91012c8a9bdea5bf2ebad96c5b610b7febe0 Mon Sep 17 00:00:00 2001 From: Jonathan Keller Date: Fri, 3 Mar 2017 08:34:06 -0800 Subject: [PATCH] trying to fix a crash... --- Sources/update.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/update.swift b/Sources/update.swift index 82fa6a8..b2c8860 100644 --- a/Sources/update.swift +++ b/Sources/update.swift @@ -118,7 +118,7 @@ func prepareUpdate(_ listener: ChatListener, _ rooms: [ChatRoom], isAuto: Bool = } isUpdating = true - rooms.forEach {$0.postMessage("Installing update...")} + rooms.forEach {$0.postMessage("Installing update..."); sleep(1)} listener.stop(.update) return true }