gis4dis / mc-client

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Fix adding and removing of binded listeners #54

Closed kordilery closed 5 years ago

kordilery commented 5 years ago

Bind method creates new instance of function. For correct remove of listener, it must be binded just once and newly created instance must be used in add and remove listener method.