mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
Put a timout on the wait for mb server to shutdown in installer
This commit is contained in:
parent
8adfb36f4c
commit
cc45ef896a
2 changed files with 4 additions and 2 deletions
|
@ -118,6 +118,8 @@ namespace MediaBrowser.Installer
|
|||
{
|
||||
// wasn't running
|
||||
}
|
||||
|
||||
Thread.Sleep(500); // give it just another sec to be sure its really gone
|
||||
}
|
||||
|
||||
//MessageBox.Show(string.Format("Called with args: product: {0} archive: {1} caller: {2}", product, Archive, callerId));
|
||||
|
@ -168,7 +170,7 @@ namespace MediaBrowser.Installer
|
|||
client.UploadString("http://localhost:8096/mediabrowser/System/Shutdown", "");
|
||||
try
|
||||
{
|
||||
server.WaitForExit();
|
||||
server.WaitForExit(30000); //don't hang indefinitely
|
||||
}
|
||||
catch (ArgumentException)
|
||||
{
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<PublisherName>Media Browser Team</PublisherName>
|
||||
<SuiteName>Media Browser</SuiteName>
|
||||
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||
<ApplicationRevision>53</ApplicationRevision>
|
||||
<ApplicationRevision>55</ApplicationRevision>
|
||||
<ApplicationVersion>0.1.1.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
|
|
Loading…
Reference in a new issue