mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 713578 - java.lang.NullPointerException at org.mozilla.gecko.Tabs.closeTab [r=blassey]
This commit is contained in:
parent
31d980c48b
commit
2a9582b367
@ -141,7 +141,7 @@ public class Tabs implements GeckoEventListener {
|
||||
|
||||
/** Close tab and then select nextTab */
|
||||
public void closeTab(Tab tab, Tab nextTab) {
|
||||
if (tab == null)
|
||||
if (tab == null || nextTab == null)
|
||||
return;
|
||||
|
||||
GeckoAppShell.sendEventToGecko(new GeckoEvent("Tab:Select", String.valueOf(nextTab.getId())));
|
||||
|
Loading…
Reference in New Issue
Block a user