-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously the SDK would set the heap top before each evaluation. This could lead to memory leaks if repeated calls to grow() allocated new memory (repeated calls to grow() would occur because the heap top was being reset on each evaluation.) This addresses the same issue as open-policy-agent/golang-opa-wasm#5 in the golang-opa-wasm SDK. Signed-off-by: Torin Sandall <[email protected]>
- Loading branch information
1 parent
7437bab
commit f4be0d0
Showing
1 changed file
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters