Commit 15fc2a1
Jeppe Reinhold
FIX: Only invoke
Fixes a bug, where it crashes if `destroy` isn't passed. Adheres to the TypeScript typings, where `destroy` is optionaldestroy if it exists1 parent 3e3dc66 commit 15fc2a1
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
0 commit comments