Fix a crash on shutdown in kwallet if the wallet was never opened.

Review Request #581 — Created March 23, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default
8ea0852888b0

Reviewers

The wallet instance variable was not initialized so if the wallet was never opened we were trying to delete and invalid pointer.

Also update the dispose method of the provider to close the wallet as the
tasks in the queue hold a reference to the provider instance as the source
object in their tasks.

Ran locally with both the kwallet and secret service providers.

    Loading...