TSRBerry c05c688ee8
Avoid copying more handles than we have space for (#4564)
* Avoid copying more handles than we have space for

* Use locks instead

* Reduce nesting by combining the lock statements

* Add locks for other uses of _sessionHandles and _portHandles

* Use one object to lock instead of locking twice

* Release the lock as soon as possible
2023-03-19 11:30:04 +01:00
..
2023-03-17 13:14:50 +01:00
2019-07-02 04:39:22 +02:00
2023-03-04 14:43:08 +01:00
2019-07-14 16:04:38 -03:00
2021-09-15 01:24:49 +02:00