getMainWindow not working properly

Issue Description:

overwolf.windows.getMainWindow() not returning window randomly

Steps to reproduce: random issue
Impact for my app: high
Do you currently have a workaround? no

@uzi, can you add more details? What it returns exactly? From where you call it? Is it happen when you call this function from your background controller or other windows? Do you have steps to reproduce?

@eransharv

  1. From where you call it: We’re calling it from a new window called ingameWidget (happened also from other windows)
  2. steps to reproduce: I’m sorry, no steps to reproduce just calling to this method - this is very random maybe related to CEF issue that Elad investigating
  3. What it returns exactly: return null if I’m not mistaken
  4. controller or other windows: other windows but again it’s random

We are working on a fix @uzi.
@eransharv will update you once the fix is ready

1 Like

@uzi this issue is fixed on OW version 157

1 Like