aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-02-12 16:51:30 +0100
committerSverker Eriksson <[email protected]>2016-02-12 16:51:30 +0100
commit4ce31a8f72726018b1293986b0f627ca2e6bb7fb (patch)
treeeb03df67fcd82d26187b1a5835f3d82b431b9310
parente84414ce53c7a1131c2356e81b5417badb1389c8 (diff)
downloadotp-4ce31a8f72726018b1293986b0f627ca2e6bb7fb.tar.gz
otp-4ce31a8f72726018b1293986b0f627ca2e6bb7fb.tar.bz2
otp-4ce31a8f72726018b1293986b0f627ca2e6bb7fb.zip
erts: Fix wobbling test failure in nif_SUITE
ResA may have been GC'd after its last use.
-rw-r--r--erts/emulator/test/nif_SUITE.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/test/nif_SUITE.erl b/erts/emulator/test/nif_SUITE.erl
index 3d478654b1..e10460ce78 100644
--- a/erts/emulator/test/nif_SUITE.erl
+++ b/erts/emulator/test/nif_SUITE.erl
@@ -617,7 +617,6 @@ resource_new_do2(Type) ->
?line {PtrA,BinA} = get_resource(Type, ResA),
?line {PtrB,BinB} = get_resource(Type, ResB),
?line true = (PtrA =/= PtrB),
- ?line [] = last_resource_dtor_call(),
%% forget ResA and make it garbage
{{PtrA,BinA}, {ResB,PtrB,BinB}}.