sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
805 stars 75 forks source link

Can connect to inspector even with DebugMode(false) #54

Closed DevJac closed 4 years ago

DevJac commented 5 years ago

I run the following before creating my first Sciter window:

    sciter::set_options(sciter::RuntimeOptions::DebugMode(false)).unwrap();
    sciter::set_options(sciter::RuntimeOptions::ScriptFeatures(
        sciter::SCRIPT_RUNTIME_FEATURES::ALLOW_SOCKET_IO as u8,
    ))
    .unwrap();

I am still able to connect to the inspector even though I set DebugMode(false).

I can provide a small example if desired.

pravic commented 5 years ago

Yes, the debug mode is always set. I need to move that to options.

pravic commented 5 years ago

Interestingly enough, this issue contradicts to #52.

pravic commented 4 years ago

Was fixed in 9cde705 by removing the implicit debug mode during the frame creation.

Also, the ALLOW_SOCKET_IO isn't necessary anymore (it was only needed between 4.2.7.0 and 4.2.5.0).