| 1867 | } |
| 1868 | |
| 1869 | void |
| 1870 | OutputSchedulerThread::notifyRenderFailure(const std::string& errorMessage) |
| 1871 | { |
| 1872 | ///Abort all ongoing rendering |
| 1873 | boost::shared_ptr<OutputSchedulerThreadStartArgs> args = _imp->runArgs.lock(); |
| 1874 | |
| 1875 | assert(args); |
| 1876 | |
| 1877 | |
| 1878 | ///Handle failure: for viewers we make it black and don't display the error message which is irrelevant |
| 1879 | handleRenderFailure(errorMessage); |
| 1880 | |
| 1881 | _imp->engine->abortRenderingNoRestart(); |
| 1882 | |
| 1883 | if (args->isBlocking) { |
| 1884 | waitForAbortToComplete_enforce_blocking(); |
| 1885 | } |
| 1886 | } |
| 1887 | |
| 1888 | boost::shared_ptr<OutputSchedulerThreadStartArgs> |
| 1889 | OutputSchedulerThread::getCurrentRunArgs() const |
no test coverage detected