osx - is Flash plugin in WebView on Mac different from Flash plugin in Safari? does it have regular Flash garbage collection? -


an answer here opening swf files using webkit framework says following running swf movies inside webview inside cocoa application: "because flash plug-in not garbage-collection supported, plug-in won't work if application uses garbage collection".

meanwhile, answer here flash as3 animation in mac vs windows discusses flash garbage collection on mac (likely in safari) , says sucks exist.

so first claim no garbage collection in webview false or webview plugin distinct safari plugin?

you confusing 2 types of garbage collection. first answer link talking objective-c garbage collection. enabled if compile app garbage-collected app. not default , apple recommends use arc instead of garbage collection.

the flash plug-in not compiled using objective-c garbage collection, won't load in app uses objective-c garbage collection because garbage-collected apps link against different runtime.

your second link discussing garbage collection in swf runtime of flash plug-in itself. objects in swfs being garbage collected plug-in environment while flash movie executing. has nothing loading plug-in cocoa app.

the flash plug-in same whether it's loaded safari or webview.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -