Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flame::end(repl) attempted to end end #39

Closed
MasonRemaley opened this issue Nov 22, 2018 · 2 comments
Closed

flame::end(repl) attempted to end end #39

MasonRemaley opened this issue Nov 22, 2018 · 2 comments

Comments

@MasonRemaley
Copy link

MasonRemaley commented Nov 22, 2018

I'm running into an issue where when I call flame::start("repl") and then later flame::end("repl") from one of my functions, the end call results in this panic:

error: thread 'main' panicked at 'flame::end(repl) attempted to end end'

I don't ever call start/end with "end" as an argument that I know of, unless flamer is doing that for some reason. When I have a few minutes to kill I'm gonna go through my project and comment out all of the start/end calls until I find the minimal repro case, but I figured I'd post here in the meantime in case anyone else has any intuition about what would cause this.

@MasonRemaley
Copy link
Author

I don't ever call start/end with "end" as an argument [...]

This turned out to be false--due to a copy paste error I was calling flame::start("end") and somehow missed it when searching my code for start("end"). Fixed that and now everything works as expected.

Sorry for the quick open/self-resolve, but thanks for the great library!

@TyOverby
Copy link
Collaborator

👍 Glad you got things figured out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants