Skip to content

Commit 4e0091b

Browse files
author
Momchil Bozhinov
authored
Update CliMenu.php
don't leave that one dangling and call the destructor
1 parent 70b73ee commit 4e0091b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CliMenu.php

+1
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ private function display() : void
312312
break;
313313
}
314314
}
315+
unset($reader);
315316
}
316317

317318
/**

0 commit comments

Comments
 (0)