« Previous | Next » 

Revision cf5bb875

IDcf5bb875cbe57b72a1da2dc75ce49e9401bc3cb3

Added by Christian Müller over 7 years ago

[BUGFIX] Do not serialize singleton properties on __sleep

Serializing a Flow managed object will not serialize injected
properties as they will be reinjected anyway. This now works
consistently for all injections.

This also is a workaround for the PHP bug:
https://bugs.php.net/bug.php?id=65967

As the only reason we serialize an SplObjectStorage curently is
that we serialize Logger instances.

Change-Id: I1ad1a13610cedbff09ffaf3cd3a385b851c0d625
Releases: master, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted