Commit 5225b95
Fix session lifetime expectations in SessionWrapper sample code
Summary: By definition, draining the session in the SessionWrapper does not destroy the session. The session is expected to still be alive for a while and be destroyed later. The SessionWrapper should unset itself as the InfoCallback in the destructor.
Reviewed By: hanidamlaj
Differential Revision: D89944465
fbshipit-source-id: def3c151c292b3cc457373d477e2e15f982b71a21 parent b1c1b2e commit 5225b95
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments