diff -r 19ce5231ffe4 -r 6356de74619b openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp --- a/openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp Fri Sep 24 16:48:05 2010 +0100 +++ b/openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp Fri Sep 24 16:58:15 2010 +0100 @@ -138,7 +138,6 @@ __ASSERT_ALWAYS(eglGetError() == EGL_SUCCESS,User::Invariant()); __ASSERT_ALWAYS(numconfigs == 1,User::Invariant()); - //TSize maxSize(MAX_WIDTH,MAX_HEIGHT); TSize maxSize(aSize.iWidth, aSize.iHeight); egl.iPixmap = new(ELeave) CFbsBitmap(); @@ -183,6 +182,7 @@ eglDestroySurface(egl.iEgldisplay, egl.iEglsurface); delete egl.iPixmap; ReleaseTls(); + eglReleaseThread(); } VGI_API_CALL TInt VGISymbianResize( TSize aSize )