diff --git a/include/v8.h b/include/v8.h index 6ce2df1160..1b1ab19c74 100644 --- a/include/v8.h +++ b/include/v8.h @@ -5347,13 +5347,6 @@ class V8_EXPORT Isolate { */ void RequestInterrupt(InterruptCallback callback, void* data); - /** - * Clear interrupt request created by |RequestInterrupt|. - * Can be called from another thread without acquiring a |Locker|. - */ - V8_DEPRECATED("There's no way to clear interrupts in flight.", - void ClearInterrupt()); - /** * Request garbage collection in this Isolate. It is only valid to call this * function if --expose_gc was specified. diff --git a/src/api.cc b/src/api.cc index af164514be..ad136c0df9 100644 --- a/src/api.cc +++ b/src/api.cc @@ -6787,10 +6787,6 @@ void Isolate::RequestInterrupt(InterruptCallback callback, void* data) { } -void Isolate::ClearInterrupt() { -} - - void Isolate::RequestGarbageCollectionForTesting(GarbageCollectionType type) { CHECK(i::FLAG_expose_gc); if (type == kMinorGarbageCollection) {