forked from premiere/premiere-libtorrent
fixed missing 'set_error' when write failed
This commit is contained in:
parent
af62dc1417
commit
238dcea91d
|
@ -1706,9 +1706,8 @@ namespace libtorrent
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t->alerts().should_post<file_error_alert>())
|
if (t->alerts().should_post<file_error_alert>())
|
||||||
{
|
|
||||||
t->alerts().post_alert(file_error_alert(j.error_file, t->get_handle(), j.str));
|
t->alerts().post_alert(file_error_alert(j.error_file, t->get_handle(), j.str));
|
||||||
}
|
t->set_error(j.str);
|
||||||
t->pause();
|
t->pause();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue