mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
7a36565622
When child message manager dies, it sends a child-process-shutdown message to the SettingsRequestManager. This would just close the locks and tasks of this message manager. The race happens when some applications can shutdown quickly: settings requests will never be committed to the database. One example is the callscreen. The fix, provided by qDot, simply put those tasks in a finalize state to make sure they are properly executed and committed.
28 lines
752 B
Python
28 lines
752 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
EXTRA_COMPONENTS += [
|
|
'SettingsManager.js',
|
|
'SettingsManager.manifest',
|
|
]
|
|
|
|
if CONFIG['MOZ_B2G']:
|
|
EXTRA_COMPONENTS += [
|
|
'SettingsService.js',
|
|
'SettingsService.manifest',
|
|
]
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
|
|
|
|
EXTRA_JS_MODULES += [
|
|
'SettingsDB.jsm',
|
|
'SettingsRequestManager.jsm'
|
|
]
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|