File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,12 @@ void BackgroundTaskRunner::PostTask(std::unique_ptr<Task> task) {
38
38
}
39
39
40
40
void BackgroundTaskRunner::PostIdleTask (std::unique_ptr<v8::IdleTask> task) {
41
- CHECK ( false && " idle tasks not enabled " );
41
+ UNREACHABLE ( );
42
42
}
43
43
44
44
void BackgroundTaskRunner::PostDelayedTask (std::unique_ptr<v8::Task> task,
45
45
double delay_in_seconds) {
46
- // It's unclear whether this is required at all for background tasks.
47
- PostTask (std::move (task));
46
+ UNREACHABLE ();
48
47
}
49
48
50
49
void BackgroundTaskRunner::BlockingDrain () {
@@ -77,7 +76,7 @@ void PerIsolatePlatformData::FlushTasks(uv_async_t* handle) {
77
76
}
78
77
79
78
void PerIsolatePlatformData::PostIdleTask (std::unique_ptr<v8::IdleTask> task) {
80
- CHECK ( false && " idle tasks not enabled " );
79
+ UNREACHABLE ( );
81
80
}
82
81
83
82
void PerIsolatePlatformData::PostTask (std::unique_ptr<Task> task) {
You can’t perform that action at this time.
0 commit comments