#include "support/lassert.h"
#include "support/Timeout.h"
-#include "support/bind.h"
-
#include <queue>
#include <memory>
#include <set>
void Loader::startLoading() const
{
- if (pimpl_->status_ != WaitingToLoad || !pimpl_->cached_item_)
+ if (pimpl_->status_ != WaitingToLoad || !pimpl_->cached_item_
+ || pimpl_->cached_item_->status() == Converting)
return;
pimpl_->startLoading();
}
-void Loader::reload() const
+void Loader::reload() const
{
pimpl_->cached_item_->startLoading();
}