aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen_erl.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-05-31 09:15:05 +0200
committerDan Gudmundsson <[email protected]>2016-05-31 09:15:05 +0200
commitffd39bdee7d0cbac044ca6c72afb65689c33b168 (patch)
tree1426bffdff4216370a35e07ded62839de9568cfa /lib/wx/api_gen/wx_gen_erl.erl
parent492b0ac2e3305a37ab507b2ff2d9546456cf61e4 (diff)
parentb304be8094f283001d6dfbafab31ead37c585869 (diff)
downloadotp-ffd39bdee7d0cbac044ca6c72afb65689c33b168.tar.gz
otp-ffd39bdee7d0cbac044ca6c72afb65689c33b168.tar.bz2
otp-ffd39bdee7d0cbac044ca6c72afb65689c33b168.zip
Merge branch 'dgud/wx/fix-seqfault-in-cleanup'
* dgud/wx/fix-seqfault-in-cleanup: wx: Fix occasional seq fault after appliction stops
Diffstat (limited to 'lib/wx/api_gen/wx_gen_erl.erl')
-rw-r--r--lib/wx/api_gen/wx_gen_erl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/api_gen/wx_gen_erl.erl b/lib/wx/api_gen/wx_gen_erl.erl
index e15bb0b5ad..794de25002 100644
--- a/lib/wx/api_gen/wx_gen_erl.erl
+++ b/lib/wx/api_gen/wx_gen_erl.erl
@@ -482,7 +482,7 @@ arg_type_test(#param{name=Name0,in=In,type=#type{base={class,T},single=true},def
arg_type_test(#param{name=Name0,in=In,type=#type{base={class,T}}, def=none},EOS,Acc)
when In =/= false ->
Name = erl_arg_name(Name0),
- w(" [?CLASS(~sT,~s) || #wx_ref{type=~sT} <- ~s],~s", [Name,T,Name,Name,EOS]),
+ w(" _ = [?CLASS(~sT,~s) || #wx_ref{type=~sT} <- ~s],~s", [Name,T,Name,Name,EOS]),
Acc;
arg_type_test(#param{name=Name0,def=none,in=In,
type={merged,