Skip to content

Commit

Permalink
Don't wait for threads to start Cockpit interface
Browse files Browse the repository at this point in the history
We don't need to wait for threads to start the Firefox browser. The JS
code will wait for services to show up anyway so let's start firefox as
soon as we can without waiting.

Related: rhbz#2236438
  • Loading branch information
jkonecny12 committed Sep 12, 2023
1 parent 5b56da9 commit f1fbe0a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyanaconda/ui/webui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from pyanaconda.core.constants import QUIT_MESSAGE, PAYLOAD_TYPE_DNF, WEBUI_VIEWER_PID_FILE
from pyanaconda.core.util import startProgram
from pyanaconda.anaconda_loggers import get_module_logger
from pyanaconda.core.threads import thread_manager
from pyanaconda.core.configuration.anaconda import conf
from pyanaconda.core.process_watchers import PidWatcher
from pyanaconda.core.glib import create_main_loop
Expand Down Expand Up @@ -75,11 +74,6 @@ def setup(self, data):
This method must be provided by all subclasses.
"""
# Finish all initialization jobs.
# FIXME: Control the initialization via DBus.
self._print_message("Waiting for all threads to finish...")
thread_manager.wait_all()

# Verify the payload type.
# FIXME: This is a temporary check.
if self.payload.type == PAYLOAD_TYPE_DNF:
Expand Down

0 comments on commit f1fbe0a

Please sign in to comment.