清理上一次还在队列当中的图像“
This commit is contained in:
parent
0399c85d4e
commit
61773e61d9
|
@ -699,6 +699,7 @@ void hg_scanner::thread_handle_image_process(void)
|
|||
|
||||
void hg_scanner::working_begin(void*)
|
||||
{
|
||||
final_imgs_.clear();
|
||||
final_img_index_ = 0;
|
||||
notify_ui_working_status(STATU_DESC_SCAN_WORKING, SANE_EVENT_WORKING, SCANNER_ERR_OK);
|
||||
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "[%s] scanning ...\n", hg_log::current_time().c_str());
|
||||
|
@ -706,8 +707,6 @@ void hg_scanner::working_begin(void*)
|
|||
void hg_scanner::working_done(void*)
|
||||
{
|
||||
imgs_.Clear();
|
||||
if(user_cancel_)
|
||||
final_imgs_.clear();
|
||||
|
||||
switch (status_)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue