Add cancell to SourceFromInputStream.

This commit is contained in:
Nikolai Kochetov 2020-01-27 19:03:55 +03:00
parent 902b977d9d
commit 6a656e8ee8

View File

@ -224,8 +224,8 @@ public:
bool isCancelled() const { return is_cancelled; } bool isCancelled() const { return is_cancelled; }
void cancel() void cancel()
{ {
onCancel();
is_cancelled = true; is_cancelled = true;
onCancel();
} }
virtual ~IProcessor() = default; virtual ~IProcessor() = default;