Skip to content

Commit

Permalink
Fix infinite loop (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy authored Sep 12, 2024
1 parent 491a7fe commit 663b96e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PProf"
uuid = "e4faabce-9ead-11e9-39d9-4379958e3056"
authors = ["Valentin Churavy <[email protected]>", "Nathan Daly <[email protected]>"]
version = "3.1.1"
version = "3.1.2"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
1 change: 1 addition & 0 deletions src/PProf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ function pprof(data::Union{Nothing, Vector{UInt}} = nothing,
if has_meta
# This should never happen in has_meta mode
@error "Unexpected 0 in data, please file an issue." idx
idx -= 1
continue
end
# Avoid creating empty samples
Expand Down

2 comments on commit 663b96e

@vchuravy
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/115039

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v3.1.2 -m "<description of version>" 663b96ede57e507bc059e99db564f8e0fce4de98
git push origin v3.1.2

Please sign in to comment.