description
I'm using the master branch in a rust project and it fails to render a webview on macos and the program crashes when instantiating webview
according to my debugger my program just quits when this is hit
Issues lie here:
https://github.com/Boscop/web-view/blob/master/webview-sys/webview_cocoa.c
|
let user_data = Box::new(UserData { |
debugger leads
line 61
if (webview_init(wv) != 0) {
webview_free(wv);
return NULL;
}
return wv;
}
line 328 in webview_cocoa.c
id wkPref = ((id(*)(id, SEL))objc_msgSend)((id)__WKPreferences, sel_registerName("new"));
finally src/lib.rs line 348
let user_data = Box::new(UserData {
inner: user_data,
live: Arc::new(RwLock::new(())),
invoke_handler: Box::new(invoke_handler),
result: Ok(()),
});
let user_data_ptr = Box::into_raw(user_data);
### Somethings up with user_data according to the debugging

description
I'm using the master branch in a rust project and it fails to render a webview on macos and the program crashes when instantiating webview
according to my debugger my program just quits when this is hit
Issues lie here:
https://github.com/Boscop/web-view/blob/master/webview-sys/webview_cocoa.c
web-view/src/lib.rs
Line 348 in 82d7cbc
debugger leads
line 61
line 328 in webview_cocoa.c
finally src/lib.rs line 348