diff --git a/examples/helloworld.js b/examples/helloworld.js index eaabb8d..86a721e 100644 --- a/examples/helloworld.js +++ b/examples/helloworld.js @@ -23,7 +23,7 @@ wryApplication.run(({event}) => { Deno.exit() break; case 'windowCreated': - console.log("It works! Window created"); + console.log("It works! Window created , if webview didn't show, try to resize window"); break; case 'domContentLoaded': console.log("It works! domContentLoaded") diff --git a/src/lib.rs b/src/lib.rs index c344ae0..2f06274 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,10 +60,11 @@ fn wry_new(json: Value, _zero_copy: &mut [ZeroCopyBuf]) -> Result Result Result { let id = json["id"].as_u64().unwrap(); - - //println!("ID {}", id); let mut should_stop_loop = false; EVENT_LOOP.with(|cell| { let event_loop = &mut *cell.borrow_mut(); @@ -255,4 +254,4 @@ fn wry_set_visible(json: Value, _zero_copy: &mut [ZeroCopyBuf]) -> Result