add garabage collection to the endOfFlow arrays
add garabage collection to the endOfFlow arrays

Kachachan/musicblocks,sneh1234/musicblocks,Hrishi1999/musicblocks,sachi-d/musicblocks,eohomegrownapps/musicblocks,khandelwalYash/musicblocks-1,walterbender/musicblocks,Hrishi1999/musicblocks,sachi-d/musicblocks,walterbender/musicblocks,hemantkasat/musicblocks,khandelwalYash/musicblocks-1,Kachachan/musicblocks,pikurasa/musicblocks,walterbender/musicblocks,tradzik/musicblocks,tradzik/musicblocks,khandelwalYash/musicblocks-1,hemantkasat/musicblocks,sachi-d/musicblocks,sneh1234/musicblocks,sneh1234/musicblocks,pikurasa/musicblocks,Kachachan/musicblocks,Hrishi1999/musicblocks,tradzik/musicblocks,pikurasa/musicblocks,eohomegrownapps/musicblocks,eohomegrownapps/musicblocks,hemantkasat/musicblocks