summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-11-20 13:09:39 -0800
committerRick Pasetto <rick@lindenlab.com>2009-11-20 13:09:39 -0800
commit1c57d96aa747d6754de664c601ec40f688f5963e (patch)
treee530046f85181e07b3d33bb0ad69a2e06843f1e6 /indra/newview
parent8bde51b92f98953c001bde8dae7a9e9a96ced894 (diff)
Delete the media impl instead of just unloading it. From Review #41 feedback.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerparcelmedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerparcelmedia.cpp b/indra/newview/llviewerparcelmedia.cpp
index cb2099b3b0..f61dbb1b39 100644
--- a/indra/newview/llviewerparcelmedia.cpp
+++ b/indra/newview/llviewerparcelmedia.cpp
@@ -218,7 +218,7 @@ void LLViewerParcelMedia::play(LLParcel* parcel)
LL_DEBUGS("Media") << "new media impl with mime type " << mime_type << ", url " << media_url << LL_ENDL;
// Delete the old one first so they don't fight over the texture.
- sMediaImpl->unload();
+ sMediaImpl = NULL;
sMediaImpl = LLViewerMedia::newMediaImpl(
placeholder_texture_id,