Skip to content
Browse files

Updated destroy methods

Removed lines that deletes an object assigning nil to self, as they have no effect.
  • Loading branch information...
1 parent 7d81038 commit b1c2d2040341d1d1b2877facb5349cd5b9619115 @Yonaba Yonaba committed Feb 4, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 GGSound.lua
View
2 GGSound.lua
@@ -158,7 +158,6 @@ function GGSound:removeAll()
audio.dispose( v.handle )
end
v.handle = nil
- v = nil
end
self.sounds = {}
@@ -180,7 +179,6 @@ function GGSound:destroy()
self:removeAll()
self.sounds = nil
- self = nil
end

0 comments on commit b1c2d20

Please sign in to comment.
Something went wrong with that request. Please try again.