mojolicious / mojo-pg

Mojolicious :heart: PostgreSQL
https://metacpan.org/release/Mojo-Pg
Artistic License 2.0
101 stars 46 forks source link

PubSub is calling non-existent Mojo::Util::_global_destruction #75

Closed akarelas closed 3 years ago

akarelas commented 3 years ago

Mojo::Util 8.72 doesn't have a _global_destruction method anymore, so it seems wrong that Mojo::Pg::Pubsub line 34 calls it.

Steps to reproduce the behavior

I tried to close my pubsub-using app, and got this error message:

    (in cleanup) Undefined subroutine &Mojo::Util::_global_destruction called at /home/appuser/website-com/perl/local/lib/perl5/Mojo/Pg/PubSub.pm line 34 during global destruction.

Expected behavior

I got an error message

Actual behavior

I shouldn't have gotten an error message

kraih commented 3 years ago

Fixed long ago.