Using @REQUIRE with an already loaded plugin in an included file, gives an error

Report any Hollywood bugs here
Post Reply
bitRocky
Posts: 149
Joined: Fri Nov 14, 2014 6:01 pm

Using @REQUIRE with an already loaded plugin in an included file, gives an error

Post by bitRocky »

When I use @REQUIRE "hurl" (f.e) in a file I @INCLUDE in the main script, Hollywood moans that the plugin is already loaded.
This worked with v9.1
User avatar
airsoftsoftwair
Posts: 5871
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Using @REQUIRE with an already loaded plugin in an included file, gives an error

Post by airsoftsoftwair »

That was a bug in Hollywood 9.1 that has been fixed. Previous Hollywood versions allowed multiple @REQUIRE statements which then ran the plugin's require code multiple times which could lead to issues so this is no longer allowed.
Post Reply