Zero the visited flag after an encoding error
When encoding an array or object ends in an error, the visited flag wasn't zeroed, causing subsequent encoding attempts to fail. This patch fixes the problem by always zeroing the visited flag.
parent
2630980f
Please register or sign in to comment