fix: check state when completing commands (#5401)

This commit is contained in:
nerix 2024-06-19 14:46:54 +02:00 committed by GitHub
parent b83d8ec9e3
commit 052dbd7d2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -19,6 +19,7 @@
- Bugfix: Fixed restricted users usernames not being clickable. (#5405)
- Bugfix: Fixed a crash that could occur when logging was enabled in IRC servers that were removed. (#5419)
- Bugfix: Fixed message history occasionally not loading after a sleep. (#5457)
- Bugfix: Fixed a crash when tab completing while having an invalid plugin loaded. (#5401)
- Dev: Update Windows build from Qt 6.5.0 to Qt 6.7.1. (#5420)
- Dev: Update vcpkg build Qt from 6.5.0 to 6.7.0, boost from 1.83.0 to 1.85.0, openssl from 3.1.3 to 3.3.0. (#5422)
- Dev: Unsingletonize `ISoundController`. (#5462)

View file

@ -420,7 +420,7 @@ std::pair<bool, QStringList> PluginController::updateCustomCompletions(
for (const auto &[name, pl] : this->plugins())
{
if (!pl->error().isNull())
if (!pl->error().isNull() || pl->state_ == nullptr)
{
continue;
}