mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
...
This commit is contained in:
@@ -17,7 +17,9 @@ type Options struct {
|
||||
func run_server(opts *Options) (err error) {
|
||||
portal := NewPortal(opts)
|
||||
ctx := context.Background()
|
||||
err = portal.Start(ctx)
|
||||
if err = portal.Start(ctx); err != nil {
|
||||
return
|
||||
}
|
||||
// Run until explicitly stopped.
|
||||
<-ctx.Done()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user