5 Replies Latest reply on Mar 12, 2010 1:15 PM by levancho

    Popup + Singleton = don't work

    webmaster-co

      I have the following situation:

       

      1) Popup opened by a main application;

      2) Popup work with singleton: one singleton for a toolbar, other for the data;

      3) Popup can be close any time;

       

      The problem: when open by the first time, the popup works with no problem, however when opened by the second time, all references seem to point to the preview popup (already closed)... How can I destroy effectively a popup when it is closed? Is dificult to work with singleton + popup or I am doing something wrong?

       

      Thanks.