Skip to content
Snippets Groups Projects
Commit 26c52313 authored by scott snyder's avatar scott snyder
Browse files

Simplify varhandle initialization for handles that are possibly ignored.

If a varhandle is used, we must call initialize on it; if it is not used,
the key must be cleared.  Combine these by extending initialize() to take
a flag.  If true, we proceed as usual; if false, we clear the key and
return success without doing anything else.

Also some small cleanups to tests.
parent 444db604
No related merge requests found
Showing
with 211 additions and 176 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment