mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1003766, StopSyncLoopRunnable::Cancel should call base class Cancel. r=mrbkap.
This commit is contained in:
parent
aca898b7e3
commit
32b41bb825
@ -399,9 +399,12 @@ NS_IMETHODIMP
|
|||||||
StopSyncLoopRunnable::Cancel()
|
StopSyncLoopRunnable::Cancel()
|
||||||
{
|
{
|
||||||
nsresult rv = Run();
|
nsresult rv = Run();
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
NS_WARN_IF(NS_FAILED(rv));
|
||||||
|
|
||||||
return NS_OK;
|
nsresult rv2 = WorkerSyncRunnable::Cancel();
|
||||||
|
NS_WARN_IF(NS_FAILED(rv2));
|
||||||
|
|
||||||
|
return NS_FAILED(rv) ? rv : rv2;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user