OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a85cb57
)
ノーティフィケーションをメインスレッドで送出するようにした
author
masakih
<masakih@users.sourceforge.jp>
Sat, 23 Sep 2017 02:52:58 +0000
(11:52 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Sat, 23 Sep 2017 02:52:58 +0000
(11:52 +0900)
KCD/GuardShelterCommand.swift
patch
|
blob
|
history
diff --git
a/KCD/GuardShelterCommand.swift
b/KCD/GuardShelterCommand.swift
index
3a21050
..
6be5a79
100644
(file)
--- a/
KCD/GuardShelterCommand.swift
+++ b/
KCD/GuardShelterCommand.swift
@@
-145,6
+145,9
@@
final class GuardShelterCommand: JSONCommand {
private func notify() {
- NotificationCenter.default.post(name: .DidUpdateGuardEscape, object: self)
+ DispatchQueue.main.async {
+
+ NotificationCenter.default.post(name: .DidUpdateGuardEscape, object: self)
+ }
}
}