getx icon indicating copy to clipboard operation
getx copied to clipboard

[GETX] "AddWorkerController" deleted from memory but actually not deleted

Open heshesh2010 opened this issue 1 year ago • 1 comments

Hi ,

when call Get.delete<AddWorkerController>(); and I got msg that controller is deleted and when i try to open the same page , i found the controller is not deleted , and all controller's value exits not deleted like edittextcontrollers and so on .

heshesh2010 avatar Dec 21 '23 20:12 heshesh2010

How do you start your controller? If your controller is permanent, you cant delete just Get.delete(). You need to add force:true. Instead if you add tag to your controller, you need specify name tag in Get.delete();

andrepurnomo avatar Dec 22 '23 07:12 andrepurnomo