Skip to content

Commit

Permalink
move listener to goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmayrelkar authored Jul 11, 2024
1 parent 6c45370 commit 5112a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monza.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func Get(ctx context.Context, config Config) Client {
listener: make(chan Event),
quit: make(chan interface{}),
}
c.startListening(ctx)
go c.startListening(ctx)
instance = c
return instance
}
Expand Down

0 comments on commit 5112a50

Please sign in to comment.