rDSN
rDSN copied to clipboard
hpc_logger lost last lines when core
when using hpc_logger, if coredump, the last (also the most important) lines will lost because not flushed.
Windows allows register an exception handler via ::SetUnhandledExceptionFilter(TopLevelFilter); I'm not sure how Linux does this. If you can register a handler which calls ::dsn::tools::sys_exit.execute(SYS_EXIT_EXCEPTION), then the issue should be fixed.
So this is fixed and we may close the issue? @shengofsun @qinzuoyan