release method
Release bytes of previously acquired memory.
Implementation
void release(int bytes) {
_currentBytes -= bytes;
if (_currentBytes < 0) _currentBytes = 0;
_processWaiters();
}
Release bytes of previously acquired memory.
void release(int bytes) {
_currentBytes -= bytes;
if (_currentBytes < 0) _currentBytes = 0;
_processWaiters();
}