fix crash on exit on windows?
This commit is contained in:
@@ -68,7 +68,7 @@ impl Client {
|
|||||||
self.input.end();
|
self.input.end();
|
||||||
|
|
||||||
if self.exit {
|
if self.exit {
|
||||||
self.renderer.send(RenderMessage::Exit).expect("AAAA");
|
let _ = self.renderer.send(RenderMessage::Exit);
|
||||||
// you know I'd like to do a timeout here...
|
// you know I'd like to do a timeout here...
|
||||||
// only because I have an NVIDIA GPU HELP
|
// only because I have an NVIDIA GPU HELP
|
||||||
self.render_handle
|
self.render_handle
|
||||||
|
|||||||
@@ -8,10 +8,7 @@ use super::camera::Camera;
|
|||||||
use crate::client::rsc::{CLEAR_COLOR, FRAME_TIME};
|
use crate::client::rsc::{CLEAR_COLOR, FRAME_TIME};
|
||||||
use nalgebra::Vector2;
|
use nalgebra::Vector2;
|
||||||
use smaa::{SmaaMode, SmaaTarget};
|
use smaa::{SmaaMode, SmaaTarget};
|
||||||
use std::{
|
use std::time::{Duration, Instant};
|
||||||
sync::Arc,
|
|
||||||
time::{Duration, Instant},
|
|
||||||
};
|
|
||||||
use voxel::VoxelPipeline;
|
use voxel::VoxelPipeline;
|
||||||
use winit::dpi::PhysicalSize;
|
use winit::dpi::PhysicalSize;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user