Skip to content

Commit b8e48df

Browse files
committed
callback on null classifiers in service status check in visual recognition
1 parent 843f511 commit b8e48df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Scripts/Services/VisualRecognition/VisualRecognition.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,10 @@ private void OnCheckServices(GetClassifiersTopLevelBrief classifiers, string cus
12151215
else
12161216
{
12171217
Log.Debug("VisualRecognition", "Classifiers in null!");
1218+
if (m_Callback != null && m_Callback.Target != null)
1219+
{
1220+
m_Callback(SERVICE_ID, false);
1221+
}
12181222
}
12191223
}
12201224
else

0 commit comments

Comments
 (0)