Skip to content

Panic when calling bar.DecoratorEwmaUpdate inside goroutine #117

@DeltaLaboratory

Description

@DeltaLaboratory

When i calling bar.DecoratorEwmaUpdate after calling bar.Increment() inside goroutine, it panics.

I am using go1.19.1, windows/amd64.

There is some example code that seems cause panic...

https://go.dev/play/p/2oSrMdlHcEF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions