plug memory leak
This commit is contained in:
parent
8ae97efd41
commit
18ddc200eb
|
@ -62,6 +62,7 @@ namespace AccessQueueService.Data
|
||||||
{
|
{
|
||||||
if (_accessQueue.TryGetValue(_nowServing, out var nextUser))
|
if (_accessQueue.TryGetValue(_nowServing, out var nextUser))
|
||||||
{
|
{
|
||||||
|
_accessQueue.Remove(_nowServing);
|
||||||
_nowServing++;
|
_nowServing++;
|
||||||
if (nextUser.LastActive < activeCutoff)
|
if (nextUser.LastActive < activeCutoff)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue