summaryrefslogtreecommitdiff
path: root/Lisp/method-invocation.lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-02-11 19:47:27 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-02-11 19:47:27 +0100
commit59460d1a4877f8b07cc91e045f07eb2c02bb8771 (patch)
tree758756ca81c5795f994e1d07f79169a17a7ef9ac /Lisp/method-invocation.lisp
parent31cd0253d521f458da739ac0b3c545a32bfadf03 (diff)
Do not rely on the GC to remove entries of a weak hash table.
This patch finally makes Objective-CL not crash consistently on CLISP. darcs-hash:20d392bc8e5203efd20e3c57224c2b1338ecb8d9
Diffstat (limited to 'Lisp/method-invocation.lisp')
-rw-r--r--Lisp/method-invocation.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lisp/method-invocation.lisp b/Lisp/method-invocation.lisp
index 4653960..879996d 100644
--- a/Lisp/method-invocation.lisp
+++ b/Lisp/method-invocation.lisp
@@ -332,7 +332,7 @@ easier to use with __apply__.
;; an Objective-C object. In the latter case,
;; INITIALIZE-INSTANCE does the memory management for
;; us.
- (error (make-condition 'exception :pointer error-cell)))
+ (error (make-pointer-wrapper 'exception :pointer error-cell)))
(case return-type
((id objective-c-class exception selector)
(let ((*skip-retaining*