LSIR / gsn

Global Sensor Networks
GNU General Public License v3.0
58 stars 43 forks source link

wrapper never disposed #46

Closed ebiiii closed 9 years ago

ebiiii commented 9 years ago

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.

ebiiii commented 9 years ago

see pull request #47