Some fixes for startup

git-svn-id: svn://10.0.0.236/trunk@12361 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
spider%netscape.com
1998-10-08 23:34:41 +00:00
parent 3d29e46f9a
commit a2ebe87eb7
3 changed files with 15 additions and 11 deletions

View File

@@ -86,6 +86,8 @@ nsShellInstance::nsShellInstance()
nsShellInstance::~nsShellInstance()
{
//NS_ShutdownINetService();
NS_IF_RELEASE(mDeviceContext);
NS_IF_RELEASE(mApplicationWindow);
@@ -116,9 +118,9 @@ nsresult nsShellInstance::Init()
mPref->Startup(nsnull);
res = NS_InitINetService();
if (NS_OK != res)
return res;
//res = NS_InitINetService();
//if (NS_OK != res)
// return res;
// Create a Stream Manager
res = nsRepository::CreateInstance(kCStreamManager,