In reply to Rahulkumar Patel:
In reply to atanubiswas:
save_data() function may be the culprit. Both the property might be sharing the same resource in this function.
Hi Rahul,
I checked it and you are correct. Is there any solution for that? I tried using automatic keyword for the function save_data… still the problem persists.