fix seg. fault issue 69/286369/2 accepted/tizen/unified/20230113.091235
authorInki Dae <inki.dae@samsung.com>
Wed, 4 Jan 2023 05:13:28 +0000 (14:13 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 5 Jan 2023 05:09:05 +0000 (05:09 +0000)
commit4649081e074f76a83e4830d89d083799f01b304d
tree0dfd75552187d31c9e7e338e5a36fe8ef388f58f
parented5a09d51416497f372a72ff143f1dfb9a0626f4
fix seg. fault issue

[Version] : 0.4.8
[Issue type] : bug fix

Fixed a seg. fault issue that it happens when a new ml single handle is
created continuously without closing a previous one by making sure
to closing previous one.

NNStreamer internally creates a new thread every time ml_simgle_open_* function
is called so which in turn, the thread creation will fail sometime later.

Change-Id: I6662bf184d2b2cd3bc6d9457ac1ca0870d77f03d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
packaging/inference-engine-mlapi.spec
src/inference_engine_mlapi.cpp