Bug introduced in V10.1 or earlier and persisting through V11.3
[CASE:3362265]
This evaluates fine for me:
CDFDeploy["test.cdf"
, DynamicModule[{}, Dynamic["Hello World"], Deinitialization :> 1]
]
But this results in a never ending evaluation that can not be aborted and requires you to quit Mathematica (not just the kernel)
CDFDeploy["test.cdf"
, DynamicModule[{}, Dynamic[{"Hello World"}], Deinitialization :> 1]
]
In practice any non trivial DynamicModule
with Deinitialization
can not be deployed as CDF...
Can you reproduce this? What can we do about this?
I have tried this in Mathematica 10.1 and 10.2 for Windows.
Deinitialization
option though, and not with the curly braces: withoutDeinitialization
, either form works fine, with or without the braces. In the aftermath, quitting the kernel seems sufficient to recover on my system; the front end seems unaffected thereafter. This sure looks like a bug. $\endgroup$ – MarcoB Jul 29 '15 at 21:13