uwe-app / app

Universal web editor
https://uwe.app
0 stars 0 forks source link

Fix OSX webview event loop main thread bug #479

Closed tmpfs closed 3 years ago

tmpfs commented 3 years ago
git [main] » uwe editor       
 INFO  uwe > 0.48.4
3) Spawn servers for each active project
 INFO  server::router > Host localhost (/Users/chrismasters/git/chrismasters-uwe)
 INFO  actix_server::builder > Starting 16 workers
 INFO  actix_server::builder > Starting "actix-web-service-[::1]:49990" service on [::1]:49990
 INFO  uwe::editor           > Editor "http://localhost:49990"
 ERROR uwe::error            > panicked at 'On macOS, `EventLoop` must be created on the main thread!', /home/muji/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/macos/event_loop.rs:60:17