Skip to content

Flushing stdout in the end of signal handling #257

@Tomotz

Description

@Tomotz

Hi,
When I'm using the SignalHandling to print stack traces on signals, I sometimes get only a few lines out of the trace, and the app crashes before the whole trace is printed.
I think it might be because there is no stdout flush in the end of the prints, and the app crashes with lines in his print buffer.
Does that make sense? Is it possible to flush it?
Thanks,
Tom

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions