Remove invalid assert from RenderActivity::setThread()
authorPyry Haulos <phaulos@google.com>
Thu, 23 Oct 2014 21:52:34 +0000 (14:52 -0700)
committerPyry Haulos <phaulos@google.com>
Thu, 23 Oct 2014 21:52:34 +0000 (14:52 -0700)
It is valid to call setThread() with null thread as part of activity
teardown, so the assert was invalid.

Change-Id: I0b3a89db1f5aff04c97def32b1881e0d66e5d250

framework/platform/android/tcuAndroidRenderActivity.cpp

index 142435e..ddbf40e 100644 (file)
@@ -291,7 +291,6 @@ RenderActivity::~RenderActivity (void)
 
 void RenderActivity::setThread (RenderThread* thread)
 {
-       DE_ASSERT(!m_thread && thread);
        m_thread = thread;
 }