mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 22:29:03 +00:00
* Run the documentation pipeline when doc/ is edited + various rendering fixes * Fix inverted condition
13 lines
255 B
Markdown
13 lines
255 B
Markdown
# SessionTerminationHandler
|
|
|
|
Observed use:
|
|
|
|
- `Session::Terminated` raises one argument: `SessionTerminationReason reason`.
|
|
|
|
```cpp
|
|
session.Terminated([](SessionTerminationReason reason)
|
|
{
|
|
printf("terminated: %d\n", static_cast<int>(reason));
|
|
});
|
|
```
|