diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-11-12 17:49:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-12 17:49:50 -0500 |
| commit | 6cbebfcc4ecf408f0f8dd9d07579045fb55a782e (patch) | |
| tree | 8915e9036e301656f3e8da53f8aaab85f4298781 /MediaBrowser.ServerApplication | |
| parent | fc6184b15968fb0541f57f4c461aaf8df25e28e0 (diff) | |
| parent | 102bbe2beb76fa76b21f4ed3f7c584a58d787204 (diff) | |
Merge pull request #2284 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.ServerApplication')
| -rw-r--r-- | MediaBrowser.ServerApplication/MainStartup.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index 09c948a4a8..fa8cccf342 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -291,6 +291,10 @@ namespace MediaBrowser.ServerApplication { get { +#if DEBUG + return false; +#endif + if (_isRunningAsService) { return _canRestartService; |
