Skip to content

Commit

Permalink
Replaced handle.block_on with blocking_send
Browse files Browse the repository at this point in the history
  • Loading branch information
sunjay committed Dec 14, 2020
1 parent 49f91d7 commit af750eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer_server/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ pub fn run_main(
GlutinEvent::LoopDestroyed => {
// Notify the server that it should shutdown, ignoring the error if the channel has
// been dropped since that just means that the server task has ended already
handle.block_on(server_shutdown.send(())).unwrap_or(());
server_shutdown.blocking_send(()).unwrap_or(());
},

_ => {},
Expand Down

0 comments on commit af750eb

Please sign in to comment.