metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

lib: fix ExpiringMap internal storage growing #414

Closed belochub closed 5 years ago

belochub commented 5 years ago

Internal storage of ExpiringMap used to store key deletion times was not cleared after deleting corresponding keys, leading to its indefinite growth.

Fixes: https://github.com/metarhia/jstp/issues/413

belochub commented 5 years ago

Landed in https://github.com/metarhia/jstp/commit/700776e248e40bb0750d1a3105263be6a509140f.