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

Don't print too many "leaked instance" messages. #883

Merged
merged 3 commits into from
Jan 30, 2025
Merged

Conversation

smurfix
Copy link
Contributor

@smurfix smurfix commented Jan 27, 2025

Most terminals don't have 10k line s of scrollback buffer ...

Most terminals don't have 10k line s of scrollback buffer ...
@wjakob
Copy link
Owner

wjakob commented Jan 27, 2025

Fair enough. Needs a "skipped remainder" part just like below.

And actually, let's make a change here: I would like the skipping behavior to be disabled when compiled in debug mode. It can be super-useful to see what kinds of instances are leaked to identify the potential source. Showing only 20 of them might hide the culprit.

@wjakob
Copy link
Owner

wjakob commented Jan 30, 2025

Thanks!

@wjakob wjakob merged commit 3dfbdb1 into wjakob:master Jan 30, 2025
31 checks passed
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.

2 participants