Skip to content

Commit

Permalink
Fix bug - load stream not load screen
Browse files Browse the repository at this point in the history
  • Loading branch information
dewcked committed Feb 20, 2022
1 parent b730eff commit d51affa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mainwindow.cpp
Expand Up @@ -284,7 +284,7 @@ void MainWindow::setupStreamlink()
if (_pStreamlinkProcess.at(!_bStreamlinkProcessSelector)->state() != QProcess::NotRunning)
{
QTimer::singleShot(600, this, [=]()
{ _pStreamlinkProcess.at(!_bStreamlinkProcessSelector)->terminate(); });
{ _pStreamlinkProcess.at(!_bStreamlinkProcessSelector)->kill(); });
}
resizeEmbeds();
}
Expand Down Expand Up @@ -356,7 +356,7 @@ void MainWindow::initialize()
{
_lChatterinoLock = true;
_bChatterinoEmbedded = false;
_pChatterinoProcess->terminate();
quitChatterino();
QTimer *restart = new QTimer(this);
connect(restart, &QTimer::timeout, this,
[=]()
Expand Down

0 comments on commit d51affa

Please sign in to comment.