kennylerma / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

Crash with null callback #316

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Pass null as the callback to Facebook.api calls
2.
3.

What is the expected output? What do you see instead?
If callback is null then no callback should be attempted... but instead a 
callback is attempted.

What version of the product are you using? On what operating system?
1.6.1 on Vista64

Please provide any additional information below.
In AbstractFacebook.handleRequestLoad, you check to see if resultCallback is 
null so that you can delete the openRequests[target]... but you don't return at 
that point allowing the resultCallback to be called... which causes the crash

Original issue reported on code.google.com by jk...@oneloop.com on 14 Jun 2011 at 3:45

GoogleCodeExporter commented 9 years ago
A fix will be included in our next build 
(http://code.google.com/p/facebook-actionscript-api/issues/detail?id=264&can=1&q
=handleRequestLoad)

Original comment by rovertn...@gmail.com on 16 Jun 2011 at 3:37