-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite to use builder pattern. Fix dispatch unsafety. #36
Conversation
- Fix unsafety (require 'static bound on dispatched closure) - Switch to builder pattern. - Run rustfmt - Fix clippy warnings - Userdata borrowed from webview instead of being arg of dispatch closure - Bump minor version - Update webview - Add crate-level doc
2f0405b
to
4b53dc9
Compare
Looks nice, but could you implement the errors by hand instead of relying on |
Done, although no backtrace support. Not sure what's going on with that travis failure. Rustup bug or a bad cache I guess? |
Yeah not sure about the travis failure, seems to appear only on beta channel. Anyway thank you so much for your contribution it is nice that someone stepped up and implemented these very needed changes. I think the builder pattern will especially be useful and the error propagation is also nice. |
Fixes SIGSEGV when a sleep isn't done after a dispatch #15 Data in dispatch closure does not live long enough #25
Fixes Apply clippy suggestions #9