Skip to content

Unable to serialize proxy factory, when using FileWriterGeneratorStrategy as cache #340

@DaGhostman

Description

@DaGhostman

At the moment, the FileWriterGeneratorStrategy sets and resets the error handler to an empty closure. The problem arises, when trying to serialize a proxy factory, which uses it as a caching mechanism.

The serialization fails with Uncaught Exception: Serialization of 'Closure' is not allowed

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions