qnetwork hibernate macos freezes

  • Hello,
    I have a mac application what polls with the qnetworkaccessmanager every minute to a server to get updates form him. this all works fine, up to the moment the mac goes into hibernate mode. If this happens, after a wakeup 90% of the time the application freezes completely and needs to be forced quit and restarted.
    What can cause this? It looks like there was going out a request shortly before the hibernate, what comes back (reply) when the mac woke up.

    I tried already to delete the qnam after wake up and create a new instance of it before a new request is send out, but here most of the time the app is also freezing

    with regards

  • Lifetime Qt Champion


    By hibernate do you mean closing a MacBook Pro screen ? Or put it to sleep from the Apple menu ?

    In any case, can you reproduce that with a minimal project ?

  • I mean, the hibernate of a notebook what is not used after a defined time and goes to hibernate, or while closing the MacBook. Not sure if I can make here a small project to simulate this, will try


  • Lifetime Qt Champion

    You don't need to simulate, just have something that small and exhibit the same behavior.

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.