Skip to content

Commit fdea682

Browse files
committed
Core - Add IRequestContext.IsDisposed
1 parent a7c51d0 commit fdea682

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CefSharp.Core/RequestContext.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ public string CachePath
7575
get { return requestContext.CachePath; }
7676
}
7777

78+
/// <inheritdoc/>
79+
public bool IsDisposed
80+
{
81+
get { return requestContext.IsDisposed; }
82+
}
83+
7884
/// <inheritdoc/>
7985
public bool IsSame(IRequestContext context)
8086
{

CefSharp/IRequestContext.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ namespace CefSharp
2121
/// </summary>
2222
public interface IRequestContext : IDisposable
2323
{
24+
/// <summary>
25+
/// Gets a value indicating whether the RequestContext has been disposed of.
26+
/// </summary>
27+
bool IsDisposed { get; }
2428
/// <summary>
2529
/// Returns true if this object is pointing to the same context object.
2630
/// </summary>

0 commit comments

Comments
 (0)