Add checks before disconnecting proxy signal
This commit is contained in:
@@ -68,7 +68,9 @@ function enable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function disable() {
|
function disable() {
|
||||||
|
if ( proxy && proxy_connect_id ) {
|
||||||
proxy.disconnect(proxy_connect_id);
|
proxy.disconnect(proxy_connect_id);
|
||||||
|
}
|
||||||
|
|
||||||
_set_theme(original_user_theme);
|
_set_theme(original_user_theme);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user