Skip to content

Commit

Permalink
WELD-679, require disociate to be called
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Sep 22, 2010
1 parent 998bcfb commit c5136a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions weld/src/main/java/org/jboss/weld/context/BoundContext.java
Expand Up @@ -23,6 +23,11 @@
* may change this behavior.
* </p>
*
* <p>
* If you call {@link #associate(Object)} you must ensure that you call
* {@link #dissociate(Object)} in all cases, otherwise you risk memory leaks.
* </p>
*
* @author Pete Muir
*
* @param <S> the type of the external instance storage
Expand Down

0 comments on commit c5136a3

Please sign in to comment.