commit | 176e650931b7b03680c233368b92752f4ff3d25b | [log] [tgz] |
---|---|---|
author | Phil Dubach <phillipd@google.com> | Thu Jul 30 17:59:02 2009 -0700 |
committer | Phil Dubach <phillipd@google.com> | Thu Jul 30 17:59:02 2009 -0700 |
tree | cf55f47203f86202137fd29088d26beca799d9d1 | |
parent | f4fbdfa53fe0497d9b1f3b9642df357bb765e84f [diff] |
Clear singleton reference during JetPlayer.release() Only one JetPlayer instance is supported at a time. A singleton reference is created and returned in JetPlayer.getInstance(). When calling release() on the instance, the corresponding native player is finalized. Therefore, release() must also clear the singleton reference, so that any subsequent call to getInstance() re-initializes the native player.