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

2787: get free tag index from number of registered tags #2788

Merged
merged 1 commit into from Jun 4, 2019
Merged

Conversation

kduske
Copy link
Collaborator

@kduske kduske commented Jun 2, 2019

Closes #2787.

The problem was that TB would run out of free tag indices when reusing the same document to load multiple maps. This was because the tag manager would not reset the current tag index when the document was cleared. We now get the tag index from the number of tags currently registered, which fixes the problem and removes a member variable.

@kduske kduske self-assigned this Jun 2, 2019
@kduske kduske added this to the 2019.6 milestone Jun 2, 2019
@kduske kduske merged commit 1de5d11 into master Jun 4, 2019
@kduske kduske deleted the feature/2787 branch June 4, 2019 09:00
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

Successfully merging this pull request may close these issues.

Crash after opening multiple maps in sequence
1 participant