Merge branch 'master' of code.uocat.com:tqcq/sled
Some checks failed
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 1m5s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 1m10s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 1m23s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 1m34s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 1m44s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 1m50s
Some checks failed
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 1m5s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 1m10s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 1m23s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 1m34s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 1m44s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 1m50s
This commit is contained in:
commit
3f8f1fee36
@ -44,7 +44,10 @@ public:
|
||||
// sled::MutexLock lock(&mutex_);
|
||||
sled::SharedMutexReadLock lock(&rwlock_);
|
||||
for (auto &handler : handlers_) {
|
||||
if (handler->HandleMessage(message)) { return DispatchResult::kHandled; }
|
||||
if (handler->HandleMessage(message)) {
|
||||
handler->OnMessage(message);
|
||||
return DispatchResult::kHandled;
|
||||
}
|
||||
}
|
||||
return DispatchResult::kNotFound;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user