Reputation: 3246
Recently I encountered a scenario where an error (Assertion Failed: calling set on destroyed object
) was thrown while running my app in development mode, but the same error wasn't thrown in production.
Why is it so? Is there a justification? If I'm missing, what other differences between production and development mode should I know?
Upvotes: 0
Views: 38
Reputation: 5991
Assertions are removed from production builds. All "assertion failed" errors should be addressed during development. Also production builds are usually minified and fingerprinted.
Upvotes: 3