diff options
author | Aleksey Kladov <[email protected]> | 2018-08-12 20:12:51 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-12 20:12:51 +0100 |
commit | b518fd0ef91d8ca3d9814b335c7be8684d1692a9 (patch) | |
tree | 68d00e49fdf18a56afd94ceee792cc1bf151768e /crates/server/src/main_loop/mod.rs | |
parent | 196236980613249f25ccb2968a214922f7db10f1 (diff) |
Sans IO dispatch
Diffstat (limited to 'crates/server/src/main_loop/mod.rs')
-rw-r--r-- | crates/server/src/main_loop/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/server/src/main_loop/mod.rs b/crates/server/src/main_loop/mod.rs index e7b24e53f..e80b9988d 100644 --- a/crates/server/src/main_loop/mod.rs +++ b/crates/server/src/main_loop/mod.rs | |||
@@ -102,7 +102,7 @@ fn on_msg( | |||
102 | } | 102 | } |
103 | if let Some(req) = req { | 103 | if let Some(req) = req { |
104 | error!("unknown method: {:?}", req); | 104 | error!("unknown method: {:?}", req); |
105 | dispatch::unknown_method(io, req)?; | 105 | io.send(RawMsg::Response(dispatch::unknown_method(req.id)?)); |
106 | } | 106 | } |
107 | } | 107 | } |
108 | RawMsg::Notification(not) => { | 108 | RawMsg::Notification(not) => { |