diff --git a/src/stremio_app/stremio_server/server.rs b/src/stremio_app/stremio_server/server.rs index a12ddbb..3a1af05 100644 --- a/src/stremio_app/stremio_server/server.rs +++ b/src/stremio_app/stremio_server/server.rs @@ -4,7 +4,7 @@ use std::{ }; use winapi::um::{ processthreadsapi::GetCurrentProcess, - winbase::CreateJobObjectA, + winbase::{CreateJobObjectA, CREATE_NO_WINDOW}, winnt::{ JobObjectExtendedLimitInformation, JOBOBJECT_BASIC_LIMIT_INFORMATION, JOBOBJECT_EXTENDED_LIMIT_INFORMATION, JOB_OBJECT_LIMIT_BREAKAWAY_OK, @@ -12,8 +12,6 @@ use winapi::um::{ }, }; -const CREATE_NO_WINDOW: u32 = 0x08000000; - pub struct StremioServer {} impl StremioServer {