1 2 3 4 Previous Next 46 Replies Latest reply on Jul 19, 2012 5:26 PM by kragoth Go to original post
      • 45. Re: How to end and begin a new conversation with one signle <s:link>
        danieldan

        Adrian Mitev wrote:

         

        The following


        Conversation.instance().leave();
        Conversation.instance().begin();
        



        works for me. But if I use end() it does't. I would like if any of the Seam team explain how to solve such usecases.

        Worked perfectly!

         

        Thanks,

        Daniel

        • 46. Re: How to end and begin a new conversation with one signle <s:link>
          kragoth

          Daniel Wendhausen wrote:

           

          Adrian Mitev wrote:

           

          The following


          Conversation.instance().leave();
          Conversation.instance().begin();
          



          works for me. But if I use end() it does't. I would like if any of the Seam team explain how to solve such usecases.

          Worked perfectly!

           

          Thanks,

          Daniel

           

          Just remember with this solution that the converstion you have called .leave() in will not be cleaned up from memory until that conversation times out. Unless of course you are doing your own clean up somewhere else. So, you could get symptoms of a memory leak if you don't manage this.

          1 2 3 4 Previous Next