How did double indemnity end?

How did double indemnity end?

The original ending to the Cain novella called for the characters to commit double suicide. Suicide, however, was strictly forbidden at the time by the Production Code as a way to resolve a plot, so Wilder wrote and filmed a different ending in which Neff goes to the gas chamber while Keyes watches.

See also  Can you add LoJack to a car?