mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Correctly handle notification callback when shutting down
When returning false in the notification callback the ProcessSingleton will assume current process is quitting, we should met its expectation.
This commit is contained in:
@@ -68,11 +68,9 @@ class App : public mate::EventEmitter,
|
||||
|
||||
void SetDesktopName(const std::string& desktop_name);
|
||||
void SetAppUserModelId(const std::string& app_id);
|
||||
|
||||
void AllowNTLMCredentialsForAllDomains(bool should_allow);
|
||||
|
||||
bool MakeSingleInstance(ProcessSingleton::NotificationCallback callback);
|
||||
|
||||
bool MakeSingleInstance(
|
||||
const ProcessSingleton::NotificationCallback& callback);
|
||||
std::string GetLocale();
|
||||
v8::Local<v8::Value> DefaultSession(v8::Isolate* isolate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user