Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions pkl/evaluator_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ func (m *evaluatorManager) NewEvaluator(ctx context.Context, opts ...func(option
m.pendingEvaluators.Store(requestId, ch)
interrupt, nevermind := m.interrupted(0)
defer nevermind()
go func() {
m.impl.outChan() <- newEvaluatorRequest
}()
m.impl.outChan() <- newEvaluatorRequest
// sanity check: it's possible that the evaluator has been closed at this point.
if m.closed.get() {
return nil, nil
Expand Down
Loading