go : NewContext now returns a clean context (#537)

Co-authored-by: Ming <ming@localhost>
pull/566/merge
polarmoon 2 years ago committed by GitHub
parent 72af0f5697
commit 5e94129cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,6 +94,7 @@ func (model *model) NewContext() (Context, error) {
params.SetPrintRealtime(false)
params.SetPrintTimestamps(false)
params.SetThreads(runtime.NumCPU())
params.SetNoContext(true)
// Return new context
return newContext(model, params)

Loading…
Cancel
Save