openni2src: Don't shut down library when finalizing an element instance

This commit is contained in:
Sebastian Dröge 2013-12-03 14:35:42 +01:00
parent 04e8d63597
commit 7a3eaa8f8a

View file

@ -681,5 +681,4 @@ openni2_finalise (GstOpenni2Src * src)
{
src->depth.destroy ();
src->color.destroy ();
openni::OpenNI::shutdown ();
}