diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-09-09 14:51:24 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-09-09 14:51:24 -0400 |
| commit | 4ceb9eb6c5ac2d98a5499a96cdb56af88b0e6bb6 (patch) | |
| tree | 9672a355ca604d3b13ead3a50a2aed4a0d6a0cfd /MediaBrowser.Common/IApplicationHost.cs | |
| parent | 9a5a6f569deee21931f26c03a72b0ea0340639f5 (diff) | |
update restart function
Diffstat (limited to 'MediaBrowser.Common/IApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Common/IApplicationHost.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.Common/IApplicationHost.cs b/MediaBrowser.Common/IApplicationHost.cs index 2b5ae6799..dc0c9ac9b 100644 --- a/MediaBrowser.Common/IApplicationHost.cs +++ b/MediaBrowser.Common/IApplicationHost.cs @@ -42,6 +42,8 @@ namespace MediaBrowser.Common /// <value><c>true</c> if this instance has pending kernel reload; otherwise, <c>false</c>.</value> bool HasPendingRestart { get; } + bool IsShuttingDown { get; } + /// <summary> /// Gets a value indicating whether this instance can self restart. /// </summary> @@ -57,11 +59,11 @@ namespace MediaBrowser.Common /// Notifies the pending restart. /// </summary> void NotifyPendingRestart(); - + /// <summary> /// Restarts this instance. /// </summary> - Task Restart(); + void Restart(); /// <summary> /// Gets the application version. |
