fix seg. fault issue 81/298981/1
authorInki Dae <inki.dae@samsung.com>
Wed, 4 Jan 2023 05:13:28 +0000 (14:13 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 18 Sep 2023 04:53:17 +0000 (13:53 +0900)
commitd7103d4089f499fd1380c21a10d27b2d6d2cb545
tree0dfd75552187d31c9e7e338e5a36fe8ef388f58f
parent5f06cc191f36ac3a14b84e64fe587228a4f91b1a
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