getStateOfSafariExtensionWithIdentifier works very slow in Big Sur

The method getStateOfSafariExtensionWithIdentifier works very slow in Big Sur: it takes about 2 minutes to get the state of an extension.
It works fine in Catalina and Mojave, the problem is only in Big Sur. Any suggestions please?

Steps to reproduce in Bug Sur:
  1. Install AdGuard for Safari from Apple Store

  2. Run Safari, click on AdGuard for Safari icon and launch the application.

  3. The application freezes because of long waiting for the state of applications extensions

Please note, the problem is reproduced only if the application was started by launching from AdGuard icon in Safari browser. If it was started from Launchpad getStateOfSafariExtensionWithIdentifier works as expected.
Answered by Frameworks Engineer in 637810022
Please try with macOS Big Sur beta 9, we think this issue might have been resolved.
EDIT:
Please note, the problem is reproduced only if the application was started by launching AdGuard from the Safari toolbar extension. This is performed by this code: link.
If it was started from Launchpad getStateOfSafariExtensionWithIdentifier works as expected.

Accepted Answer
Please try with macOS Big Sur beta 9, we think this issue might have been resolved.
getStateOfSafariExtensionWithIdentifier works very slow in Big Sur
 
 
Q