Deepstream doesn't let go of the resources after setting the pipeline to NULL

OK. Could you do the following tests?
1.You can refer to our FAQ to check if there is memory leak.
2.Could you try to not start a new thread and execute the play and stop at the main thread?