Commit ef1a665
committed
fix(telemetry): session_end not caching events
When the user shutdown their extension gracefully our mechanism that
would cache any pending metrics for the next startup would not save to disk.
This was due to the VS Code FS implementation being used, but it will not work since
the function it is called in is called by `deactivate()` which does not have access to
vscode apis on shutdown.
Solution is to swap it with the node fs implementation
Signed-off-by: nkomonen-amazon <[email protected]>1 parent 17e951c commit ef1a665
File tree
1 file changed
+5
-1
lines changed1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
| |||
0 commit comments