Commit Graph

6 Commits

Author SHA1 Message Date
amaitland 31fdcd459b BindObjectAsyncHandler - Switch to using Promise.resolve when immediate response available
Instead of creating a new promise then resolving it, we just resolve directly
Requires a slightly different approach using Eval with a string as I couldn't get a reference to Promise.resolve
then execute it successfully.
2019-07-08 21:06:32 +10:00
amaitland 6fcd3e67ff BindObjectAsyncHandler - Add destructor
Release managed resources
2019-07-08 20:14:57 +10:00
amaitland ae2acc0905 BindObjectAsyncHandler - Move some variables closer to their usage 2019-07-08 20:14:56 +10:00
amaitland b983457158 BindObjectAsyncHandler - Further reduce nesting, simplifying frame checks in the progress 2019-07-08 20:14:55 +10:00
amaitland eda2e2f33c BindObjectAsyncHandler - Reduce nesting
Combine Context Get and Context Enter error handling
2019-07-08 20:14:53 +10:00
amaitland f6edbd5ad8 CefSharp.BindObjectAsync - Split out into it's own Handler
- Add BindObjectAsyncHandler
- Remove unneeded params from RegisterBoundObjectHandler
2019-07-08 20:14:52 +10:00