Skip to content

Commit af750eb

Browse files
committed
Replaced handle.block_on with blocking_send
1 parent 49f91d7 commit af750eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer_server/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ pub fn run_main(
278278
GlutinEvent::LoopDestroyed => {
279279
// Notify the server that it should shutdown, ignoring the error if the channel has
280280
// been dropped since that just means that the server task has ended already
281-
handle.block_on(server_shutdown.send(())).unwrap_or(());
281+
server_shutdown.blocking_send(()).unwrap_or(());
282282
},
283283

284284
_ => {},

0 commit comments

Comments
 (0)