mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 22:46:51 +08:00
Update daemon.cpp
Sorry @matthill ! Although I made that change in https://github.com/openalpr/openalpr/pull/382 , I didn't test the library locally. This new fix is building, and it is working when I test the library using: wget http://i.imgur.com/pjukRD0.jpg -O lp.jpg alpr lp.jpg
This commit is contained in:

committed by
GitHub

parent
426d863f90
commit
2631c14c08
@@ -210,11 +210,11 @@ int main( int argc, const char** argv )
|
|||||||
UploadThreadData* udata = new UploadThreadData();
|
UploadThreadData* udata = new UploadThreadData();
|
||||||
udata->upload_url = daemon_config.upload_url;
|
udata->upload_url = daemon_config.upload_url;
|
||||||
tthread::thread* thread_upload = new tthread::thread(dataUploadThread, (void*) udata );
|
tthread::thread* thread_upload = new tthread::thread(dataUploadThread, (void*) udata );
|
||||||
|
delete(thread_upload);
|
||||||
}
|
}
|
||||||
delete(thread_upload);
|
delete(thread_recognize);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
delete(thread_recognize);
|
|
||||||
// Parent process will continue and spawn more children
|
// Parent process will continue and spawn more children
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user