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

Co-authored-by: Ming <ming@localhost>
This commit is contained in:
polarmoon 2023-03-05 10:50:25 -08:00 committed by GitHub
parent 72af0f5697
commit 5e94129cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)