# Flush native logs on adapter shutdown · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/1a3cd276a281d01446d3addc6aa9fc046f12e321)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 1a3cd276a281d01446d3addc6aa9fc046f12e321

Requested commit: 1a3cd276a281d01446d3addc6aa9fc046f12e321

Commit: 1a3cd276a281d01446d3addc6aa9fc046f12e321

Tree: 4aff82df14243f0230fcce060b666903d94ec3f6

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Flush native logs on adapter shutdown

- Close the managed native event logger when the adapter layer tears down
- Make session runtime close idempotent with an atomic closed flag
- Add coverage for flushing thread native logs on shutdown

```

## Parents

- [682b11b4bb1d8af06058cadef9b6ff37d1adea4b](https://git.cafe/pingdotgg/t3code/commit/682b11b4bb1d8af06058cadef9b6ff37d1adea4b?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/1a3cd276a281d01446d3addc6aa9fc046f12e321?format=markdown)
