Revert "Internal: Don't throw when wrapping a null instance"
This reverts commit 9d2e6edb. This makes more sense, since most of libvlc_*_release functions will either assert or assume that the given pointer is non null. Since shared_ptr will call the deleter for any pointer (including nullptr), we're better of refusing to wrap a pointer and avoid undefined behavior
Showing with 2 additions and 0 deletions