LSIR / gsn

Global Sensor Networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wrapper never disposed

ebiiii opened this issue · comments

Depending when it fails in the Virtual sensor loader (https://github.com/LSIR/gsn/blob/master/src/main/java/gsn/VSensorLoader.java#L196), the initialize method of wrapper may be called, but never the dispose method. If those are used for allocating and releasing resources, it may lead to memory leaks...
One such case is the monitoring.

see pull request #47