mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1042513 - Clearing timer in Firefly shutdown is racy and not needed r=blassey
This commit is contained in:
parent
b717ae583c
commit
5a393d54a4
@ -231,7 +231,7 @@ FireflyApp.prototype = {
|
||||
},
|
||||
|
||||
_handle_meta_response: function(data) {
|
||||
switch(data.cmd) {
|
||||
switch (data.cmd) {
|
||||
case "create-session":
|
||||
case "~create-session":
|
||||
// if we get a response form start-app, assume we have a connection already
|
||||
@ -303,11 +303,6 @@ FireflyApp.prototype = {
|
||||
},
|
||||
|
||||
shutdown: function() {
|
||||
if (this._info_timer) {
|
||||
this._info_timer.clear();
|
||||
this._info_timer = null;
|
||||
}
|
||||
|
||||
this.stop(function() {
|
||||
this._send_meta_cmd(PROTO_CMD_VALUE_END_SESSION);
|
||||
if (this._mediaListener) {
|
||||
|
Loading…
Reference in New Issue
Block a user