Skip to content

Add null-check to tabUrl to prevent NPE

Taslim Oseni requested to merge npe-port-delegate into develop

This MR fixes #142 (closed).

This bug happened because tabUrl was still null at the time the portDelegate was triggered. I fixed this by surrounding the tabUrl computation with a null-check (using a let). This fix is harmless UX-wise since I updated the refresh rate to 500 millisecond in this MR.

Edited by Taslim Oseni

Merge request reports