Shutdown FastStart service

VERIFIED FIXED

Status

VERIFIED FIXED
9 years ago
8 years ago

People

(Reporter: alexp, Assigned: alexp)

Tracking

Trunk
All
Windows Mobile 6 Professional
Dependency tree / graph

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

9 years ago
When the FastStart service is enabled, it's always running and there is no way to shut it down.
(Assignee)

Updated

9 years ago
Assignee: nobody → alexp
(Assignee)

Updated

9 years ago
Blocks: 529897
(Assignee)

Comment 1

9 years ago
Created attachment 414356 [details] [diff] [review]
Patch to handle -shutdown-faststart flag

Shut down FastStart service when -shutdown-faststart command line flag is provided.
Attachment #414356 - Flags: review?(crowder)
Comment on attachment 414356 [details] [diff] [review]
Patch to handle -shutdown-faststart flag


>+
>+    if (cmdLine.handleFlag("shutdown-faststart", false)) {
>+      // Shutdown this service
>+      let appstartup = Cc["@mozilla.org/toolkit/app-startup;1"].getService(Ci.nsIAppStartup);
>+      appstartup.quit(Ci.nsIAppStartup.eAttemptQuit);

Add a cmdLine.preventDefault = true; here so other commandline handlers are skipped
(Assignee)

Comment 3

9 years ago
Created attachment 414401 [details] [diff] [review]
Patch to handle -shutdown-faststart flag

Added "cmdLine.preventDefault = true;"
Attachment #414356 - Attachment is obsolete: true
Attachment #414401 - Flags: review?(crowder)
Attachment #414356 - Flags: review?(crowder)

Updated

9 years ago
Attachment #414401 - Flags: review?(crowder) → review+
Blocks: 529852
(Assignee)

Updated

9 years ago
Keywords: checkin-needed
(Assignee)

Updated

9 years ago
tracking-fennec: --- → ?
tracking-fennec: ? → 1.0a4-wm+
pushed http://hg.mozilla.org/mozilla-central/rev/6c225b5a023f
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
verified FIXED on build:
Mozilla/5.0 (Windows; U; Window3sCE 5.2; en-US; rv:1.9.2b5pre) Gecko/20091202 Namoroka/3.6b5pre Fennec/1.0a4pre
Status: RESOLVED → VERIFIED
Keywords: checkin-needed

Updated

8 years ago
Component: Windows Mobile → General
QA Contact: mobile-windows → general
Hardware: ARM → All
You need to log in before you can comment on or make changes to this bug.