mojolicious/mojo-pg

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

akarelas opened this issue · 1 comments

  • Mojo::Pg version: 4.23
  • Mojolicious version: 8.72
  • Perl version: v5.32
  • Operating system: Ubuntu 20.04

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

Fixed long ago.