Commit eab8bba
authored
fix(harper.js): create disposal function and use it (#2445)
* test(harper.js): in firefox
* test(harper.js): to ensure that memory does not leak with minimal loops
* test(harper-wasm): that the issue is not in the WebAssembly code
* test(harper.js): make the test fail when memory is used
* potential fix
* chore: `just format`
* fix: dispose `Linter` properly in Obsidian and the Web Extension
* fix(chrome-ext): return Serializer test to its rightful place
* fix: revert changes to the example
* fix(harper.js): clean up trash
* chore: `just format`
* fix(harper.js): bad interface method
* fix(harper.js): dispose `OrganizedGroup` objects and the linters in the tests
* fix(harper.js): make test only run for the `LocalLinter`1 parent 9ae6a07 commit eab8bba
10 files changed
Lines changed: 162 additions & 33 deletions
File tree
- harper-wasm/src
- packages
- chrome-plugin/src/background
- harper.js
- src
- WorkerLinter
- obsidian-plugin/src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
662 | 677 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
397 | 401 | | |
398 | 402 | | |
399 | 403 | | |
| |||
0 commit comments