Skip to content

android.app.IntentReceiverLeaked caused by MQTTManager #1

@dondos

Description

@dondos

I am seeing android.app.IntentReceiverLeaked when the app gets destroyed.
The IntentFilter filter (from MQTTManager, line 189) it's never unregistered, so I got rid of the error by adding context.unregisterReceiver(this); inside handleDisconnect() method (if reconnect is false, line 740).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions