 	}
 
 	public var isDisposed: Bool {
-		return disposables.value == nil
+		return state.isDisposed
 	}
 
 	/// Initialize a `CompositeDisposable` containing the given sequence of

		}

		self.disposables = Atomic(bag)
	}
	
	/// Initialize a `CompositeDisposable` containing the given sequence of

	/// disposable is automatically disposed.
	public var innerDisposable: Disposable? {
		get {
			return _innerDisposable.value
		}

		set(d) {
			_innerDisposable.swap(d)?.dispose()
			if let d = d, isDisposed {
				d.dispose()
			}
		}
	}
