We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
protected override async void OnExit(ExitEventArgs e) { try { _mutex?.ReleaseMutex(); _mutex?.Close(); } catch (Exception) { // ignored } finally { if (e.ApplicationExitCode == 0) { Log.Information("exit"); await Log.CloseAndFlushAsync(); await Dal.DalBase.Save2DbAsync(new ActionLog("exit")); } base.OnExit(e); }
Always miss the last few message in mysql . And i find out that sink to file is ok. Seems CloseAndFlushAsync() has some issues.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Always miss the last few message in mysql . And i find out that sink to file is ok. Seems CloseAndFlushAsync() has some issues.
The text was updated successfully, but these errors were encountered: