Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Oct 7, 2024
1 parent 49563e7 commit 34596c5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,12 @@ public long acquireMemory(long size) {
if (size <= available) {
available -= size;
return size;
} else {
long allocated = available;
available = 0;
return allocated;
}
}
return 0;
}
}

Expand Down

0 comments on commit 34596c5

Please sign in to comment.