diff --git a/CefSharp.Core/RequestContext.cs b/CefSharp.Core/RequestContext.cs index 52695778d..f70d46c7e 100644 --- a/CefSharp.Core/RequestContext.cs +++ b/CefSharp.Core/RequestContext.cs @@ -75,6 +75,12 @@ namespace CefSharp get { return requestContext.CachePath; } } + /// + public bool IsDisposed + { + get { return requestContext.IsDisposed; } + } + /// public bool IsSame(IRequestContext context) { diff --git a/CefSharp/IRequestContext.cs b/CefSharp/IRequestContext.cs index 4f6105ae0..71259756d 100644 --- a/CefSharp/IRequestContext.cs +++ b/CefSharp/IRequestContext.cs @@ -21,6 +21,10 @@ namespace CefSharp /// public interface IRequestContext : IDisposable { + /// + /// Gets a value indicating whether the RequestContext has been disposed of. + /// + bool IsDisposed { get; } /// /// Returns true if this object is pointing to the same context object. ///